Class: ERLE::Float
Instance Attribute Summary
Attributes inherited from Term
Instance Method Summary collapse
Methods inherited from Term
enclosure, #initialize, parse, pattern, to_ruby, until_any_closing
Constructor Details
This class inherits a constructor from ERLE::Term
Instance Method Details
#to_ruby ⇒ Object
10 11 12 |
# File 'lib/erle/elements/numbers.rb', line 10 def to_ruby @output ||= @input.to_f end |