Class: Fabulator::Expr::NeqExpr
- Inherits:
-
BoolBinExpr
- Object
- BinExpr
- BoolBinExpr
- Fabulator::Expr::NeqExpr
- 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
116 117 118 |
# File 'lib/fabulator/expr/bin_expr.rb', line 116 def calculate(a,b) a != b end |
#op ⇒ Object
112 113 114 |
# File 'lib/fabulator/expr/bin_expr.rb', line 112 def op :neq end |