Method: Cel::Map#==
- Defined in:
- lib/cel/ast/elements.rb
#==(other) ⇒ Object
310 311 312 313 314 315 |
# File 'lib/cel/ast/elements.rb', line 310 def ==(other) super || ( other.respond_to?(:to_hash) && @value.zip(other).all? { |(x1, y1), (x2, y2)| x1 == x2 && y1 == y2 } ) end |