class WAB::Impl::BoolExpr

Attributes

args[R]

Public Class Methods

new(*args) click to toggle source

Create an expression with the provided arguments which must be instances of subclasses of the Expr class.

args

argument to the expression

# File lib/wab/impl/bool_expr.rb, line 11
def initialize(*args)
  @args = args
end

Public Instance Methods

append_arg(arg) click to toggle source
# File lib/wab/impl/bool_expr.rb, line 15
def append_arg(arg)
  @args << arg
end
eval(_data) click to toggle source
# File lib/wab/impl/bool_expr.rb, line 19
def eval(_data)
  false
end