Class: Eqn::Terminal::CompOp
- Defined in:
- lib/eqn/terminal.rb
Overview
Node class for a comparation operator.
Instance Method Summary collapse
Methods inherited from EqnNode
Instance Method Details
#value(_vars = {}) ⇒ Object
44 45 46 |
# File 'lib/eqn/terminal.rb', line 44 def value(_vars = {}) text_value == '=' ? :== : text_value.to_sym end |