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
47 48 49 |
# File 'lib/eqn/terminal.rb', line 47 def value(_vars = {}) text_value == '=' ? :== : text_value.to_sym end |