Class: Eqn::Terminal::Digits
- Defined in:
- lib/eqn/terminal.rb
Overview
Node class for a group of numbers.
Instance Method Summary collapse
Methods inherited from EqnNode
Instance Method Details
#dec_value ⇒ Object
16 17 18 |
# File 'lib/eqn/terminal.rb', line 16 def dec_value ".#{text_value}".to_f end |
#value(_vars = {}) ⇒ Object
20 21 22 |
# File 'lib/eqn/terminal.rb', line 20 def value(_vars = {}) text_value.to_f end |