Object
# File rbs-2.1.0/lib/rbs/builtin_names.rb, line 14 def instance_type(*args) Types::ClassInstance.new(name: name, args: args, location: nil) end
# File rbs-2.1.0/lib/rbs/builtin_names.rb, line 18 def instance_type?(type) type.is_a?(Types::ClassInstance) && type.name == name end
# File rbs-2.1.0/lib/rbs/builtin_names.rb, line 22 def singleton_type @singleton_type ||= Types::ClassSingleton.new(name: name, location: nil) end