Class: Toml::ArrayDS

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/tomlp/token_extensions.rb

Instance Method Summary collapse

Instance Method Details

#evaluateObject



72
73
74
75
76
# File 'lib/tomlp/token_extensions.rb', line 72

def evaluate
  #array = self.text_value
  #array[0..-2] if array[-1] == ","
  return eval self.text_value
end