Class: Crisp::Nodes::FloatLiteral
Overview
The float node
Instance Method Summary collapse
-
#resolve(env) ⇒ Object
returns float value.
Methods inherited from Primitive
Methods inherited from Base
Instance Method Details
#resolve(env) ⇒ Object
returns float value
6 7 8 |
# File 'lib/crisp/nodes/float_literal.rb', line 6 def resolve(env) text_value.to_f end |