Class: RBI::Type::AttachedClass

Inherits:
Type
  • Object
show all
Defined in:
lib/rbi/type.rb

Overview

T.attached_class.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object

: (BasicObject other) -> bool



81
82
83
# File 'lib/rbi/type.rb', line 81

def ==(other)
  AttachedClass === other
end

#normalizeObject

: -> Type



93
94
95
# File 'lib/rbi/type.rb', line 93

def normalize
  self
end

#simplifyObject

: -> Type



99
100
101
# File 'lib/rbi/type.rb', line 99

def simplify
  self
end

#to_rbiObject

: -> String



87
88
89
# File 'lib/rbi/type.rb', line 87

def to_rbi
  "::T.attached_class"
end