Class: Heist::Scheme::String

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

Instance Method Summary collapse

Instance Method Details

#evalObject



132
133
134
135
136
137
# File 'lib/heist/parser/nodes.rb', line 132

def eval
  return @value if @value
  @value = Kernel.eval(text_value)
  @value.freeze
  @value
end