Class: Heist::Scheme::Integer

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/heist/parser/nodes.rb

Instance Method Summary collapse

Instance Method Details

#evalObject



120
121
122
# File 'lib/heist/parser/nodes.rb', line 120

def eval
  @value ||= text_value.to_i
end