Class: Heist::Scheme::Boolean

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

Instance Method Summary collapse

Instance Method Details

#evalObject



96
97
98
# File 'lib/heist/parser/nodes.rb', line 96

def eval
  @value ||= (text_value == "#t")
end