Class: WAB::Impl::BoolExpr
Instance Method Summary collapse
- #append_arg(arg) ⇒ Object
- #eval(_data) ⇒ Object
-
#initialize(*args) ⇒ BoolExpr
constructor
Create an expression with the provided arguments which must be instances of subclasses of the Expr class.
Methods inherited from Expr
Constructor Details
#initialize(*args) ⇒ BoolExpr
Create an expression with the provided arguments which must be instances of subclasses of the Expr class.
- args
-
argument to the expression
11 12 13 |
# File 'lib/wab/impl/bool_expr.rb', line 11 def initialize(*args) @args = args end |
Instance Method Details
#append_arg(arg) ⇒ Object
15 16 17 |
# File 'lib/wab/impl/bool_expr.rb', line 15 def append_arg(arg) @args << arg end |
#eval(_data) ⇒ Object
19 20 21 |
# File 'lib/wab/impl/bool_expr.rb', line 19 def eval(_data) false end |