Class: Marker::Escaped

Inherits:
ParseNode show all
Defined in:
lib/marker/text.rb

Instance Method Summary collapse

Methods inherited from Treetop::Runtime::SyntaxNode

#present?

Instance Method Details

#to_html(options = {}) ⇒ Object



100
101
102
# File 'lib/marker/text.rb', line 100

def to_html( options = {} )
  text_value.slice(-1,1)
end

#to_s(options = {}) ⇒ Object



104
105
106
# File 'lib/marker/text.rb', line 104

def to_s( options = {} )
  text_value.slice(-1,1)
end