Method: RBS::Definition::Ancestor::Singleton#==

Defined in:
lib/rbs/definition.rb

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



196
197
198
# File 'lib/rbs/definition.rb', line 196

def ==(other)
  other.is_a?(Singleton) && other.name == name
end