class WikiClothText
Public Class Methods
new(string)
click to toggle source
Calls superclass method
# File lib/acts_as_markup_on/exts/wikicloth.rb, line 6 def initialize(string) @text = string super({:data => string.to_s}) end
Public Instance Methods
blank?()
click to toggle source
# File lib/acts_as_markup_on/exts/wikicloth.rb, line 15 def blank? @text.blank? end
to_s()
click to toggle source
# File lib/acts_as_markup_on/exts/wikicloth.rb, line 11 def to_s @text.to_s end