Class: Marker::Italic
- Inherits:
-
ParseNode
- Object
- Treetop::Runtime::SyntaxNode
- ParseNode
- Marker::Italic
- Defined in:
- lib/marker/text.rb
Instance Method Summary collapse
Methods inherited from Treetop::Runtime::SyntaxNode
Instance Method Details
#to_html(options = {}) ⇒ Object
137 138 139 |
# File 'lib/marker/text.rb', line 137 def to_html( = {} ) "<i>#{italic_enclosed_text.to_html()}</i>" end |
#to_s(options = {}) ⇒ Object
141 142 143 |
# File 'lib/marker/text.rb', line 141 def to_s( = {} ) "/#{italic_enclosed_text.to_s()}/" end |