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