Object
# File rbs-2.1.0/lib/rbs/types.rb, line 174
def ==(other)
other.is_a?(ClassSingleton) && other.name == name
end
# File rbs-2.1.0/lib/rbs/types.rb, line 180
def hash
self.class.hash ^ name.hash
end
# File rbs-2.1.0/lib/rbs/types.rb, line 197
def map_type_name
ClassSingleton.new(
name: yield(name, location, self),
location: location
)
end