Class: Ptolemy::TOML::KeyValue
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Ptolemy::TOML::KeyValue
- Defined in:
- lib/ptolemy/nodes.rb
Overview
Represents an element of the form key = value
Instance Method Summary collapse
-
#to_value ⇒ Array
Evaluate both key and value and return as a 2 element array.
Instance Method Details
#to_value ⇒ Array
Evaluate both key and value and return as a 2 element array
80 81 82 |
# File 'lib/ptolemy/nodes.rb', line 80 def to_value [key.to_value, value.to_value] end |