Class: Toml::KeyValueList
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Toml::KeyValueList
- Defined in:
- lib/tomlp/token_extensions.rb
Instance Method Summary collapse
Instance Method Details
#evaluate ⇒ Object
101 102 103 104 105 106 107 |
# File 'lib/tomlp/token_extensions.rb', line 101 def evaluate key_value_list = {} self.elements.each do |x| key_value_list.merge!(x.evaluate) end return key_value_list end |