Class: Toml::IntegerLiteral

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

Instance Method Summary collapse

Instance Method Details

#evaluateObject



6
7
8
# File 'lib/tomlp/token_extensions.rb', line 6

def evaluate
  return self.text_value.to_i
end