Class: Trope::Language::FloatLiteral
Overview
A float.
Instance Method Summary collapse
-
#value ⇒ Object
The value as a Ruby object.
Methods inherited from Node
#elements, #elements_with_treetop_nodes
Instance Method Details
#value ⇒ Object
The value as a Ruby object.
10 11 12 |
# File 'lib/trope/language/float_literal.rb', line 10 def value super.to_f end |