Class: Eqn::Number::Decimal
- Defined in:
- lib/eqn/number.rb
Overview
Node class for the decimal part of a non-integer.
Instance Method Summary collapse
Methods inherited from EqnNode
Instance Method Details
#value(_vars = {}) ⇒ Object
36 37 38 |
# File 'lib/eqn/number.rb', line 36 def value(_vars = {}) elements.shift.dec_value end |