class Iba::BaseExpression

Public Instance Methods

==(other) click to toggle source
# File lib/iba.rb, line 59
def == other
  method_missing :==, other
end
_wrap(arg) click to toggle source
# File lib/iba.rb, line 63
def _wrap arg
  if arg.is_a? BaseExpression
    arg
  else
    LiteralExpression.new arg
  end
end
coerce(other) click to toggle source
# File lib/iba.rb, line 71
def coerce other
  [_wrap(other), self]
end
method_missing(method, *args) click to toggle source
Calls superclass method
# File lib/iba.rb, line 45
def method_missing method, *args
  super if method.to_s =~ /^_/
  MethodCallExpression.new self, method, args
end
respond_to_missing?(method) click to toggle source
# File lib/iba.rb, line 50
def respond_to_missing? method
  return false if method.to_s =~ /^_/
  true
end
to_s() click to toggle source
# File lib/iba.rb, line 55
def to_s
  method_missing :to_s
end