Class: Trope::Language::Literal
- Defined in:
- lib/trope/language/literal.rb
Overview
A literal.
Direct Known Subclasses
Instance Method Summary collapse
-
#value ⇒ Object
The value of the literal.
Methods inherited from Node
#elements, #elements_with_treetop_nodes
Instance Method Details
#value ⇒ Object
The value of the literal.
10 11 12 |
# File 'lib/trope/language/literal.rb', line 10 def value elements_with_treetop[1].text_value # Skip the first node end |