Class: Crisp::Float

Inherits:
Primitive
  • Object
show all
Defined in:
lib/crisp/nodes.rb

Instance Method Summary collapse

Instance Method Details

#eval(env) ⇒ Object



46
47
48
# File 'lib/crisp/nodes.rb', line 46

def eval(env)
  text_value.to_f
end