Class: Markdownplus::Literals::StringLiteral
- Inherits:
-
ExpressionLiteral
- Object
- Treetop::Runtime::SyntaxNode
- ExpressionLiteral
- Markdownplus::Literals::StringLiteral
- Defined in:
- lib/markdownplus/literals.rb
Instance Method Summary collapse
Methods inherited from ExpressionLiteral
#_functions, #functions, #parens, #symbols
Instance Method Details
#to_s ⇒ Object
80 81 82 83 |
# File 'lib/markdownplus/literals.rb', line 80 def to_s v = self.text_value.strip v[1..v.length-2] end |
#value(input, variables, warnings, errors) ⇒ Object
85 86 87 |
# File 'lib/markdownplus/literals.rb', line 85 def value(input, variables, warnings, errors) to_s end |