Method: RBS::AST::Members::MethodDefinition#==

Defined in:
lib/rbs/ast/members.rb

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



26
27
28
29
30
31
32
# File 'lib/rbs/ast/members.rb', line 26

def ==(other)
  other.is_a?(MethodDefinition) &&
    other.name == name &&
    other.kind == kind &&
    other.types == types &&
    other.overload == overload
end