# File lib/acts_as_markup/exts/maruku.rb, line 8 def initialize(s=nil, meta={}) super(nil) self.attributes.merge! meta if s @text = s parse_doc(s) end end
used to be compatable with Rails/ActiveSupport
# File lib/acts_as_markup/exts/maruku.rb, line 23 def blank? @text.blank? end
Used to get the original Markdown text.
# File lib/acts_as_markup/exts/maruku.rb, line 18 def to_s @text end