Method: Oso::Polar::Predicate#==

Defined in:
lib/oso/polar/predicate.rb

#==(other) ⇒ Boolean Also known as: eql?

Parameters:

Returns:

  • (Boolean)


18
19
20
# File 'lib/oso/polar/predicate.rb', line 18

def ==(other)
  name == other.name && args == other.args
end