Method: Steep::AST::Types::Intersection#==

Defined in:
lib/steep/ast/types/intersection.rb

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



40
41
42
43
# File 'lib/steep/ast/types/intersection.rb', line 40

def ==(other)
  other.is_a?(Intersection) &&
    other.types == types
end