class Oso::Polar::Expression
Polar
expression.
Attributes
args[R]
operator[R]
Public Class Methods
new(operator, args)
click to toggle source
@param operator [String] @param args [Array<Object>]
# File lib/oso/polar/expression.rb, line 11 def initialize(operator, args) @operator = operator @args = args end
Public Instance Methods
==(other)
click to toggle source
@param other [Expression] @return [Boolean]
# File lib/oso/polar/expression.rb, line 18 def ==(other) operator == other.operator && args == other.args end
Also aliased as: eql?