Class: RDiscount
- Includes:
- Stringlike
- Defined in:
- lib/acts_as_markup/exts/rdiscount.rb
Instance Method Summary collapse
-
#blank? ⇒ Boolean
used to be compatable with Rails/ActiveSupport.
-
#to_s ⇒ Object
Used to get the original Markdown text.
Methods included from Stringlike
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stringlike
Instance Method Details
#blank? ⇒ Boolean
used to be compatable with Rails/ActiveSupport
12 13 14 |
# File 'lib/acts_as_markup/exts/rdiscount.rb', line 12 def blank? self.text.blank? end |
#to_s ⇒ Object
Used to get the original Markdown text.
7 8 9 |
# File 'lib/acts_as_markup/exts/rdiscount.rb', line 7 def to_s self.text end |