Class: Fabulator::Expr::EqExpr
- Inherits:
-
BoolBinExpr
- Object
- BinExpr
- BoolBinExpr
- Fabulator::Expr::EqExpr
- Defined in:
- lib/fabulator/expr/bin_expr.rb
Instance Method Summary collapse
Methods inherited from BoolBinExpr
Methods inherited from BinExpr
#expr_type, #initialize, #result_type, #run
Constructor Details
This class inherits a constructor from Fabulator::Expr::BinExpr
Instance Method Details
#calculate(a, b) ⇒ Object
106 107 108 |
# File 'lib/fabulator/expr/bin_expr.rb', line 106 def calculate(a,b) a == b end |
#op ⇒ Object
102 103 104 |
# File 'lib/fabulator/expr/bin_expr.rb', line 102 def op :eq end |