Class: RBI::Type::SelfType
- Inherits:
-
Type
- Object
- Type
- RBI::Type::SelfType
- Defined in:
- lib/rbi/type.rb
Overview
T.self_type.
Instance Method Summary collapse
-
#==(other) ⇒ Object
: (BasicObject other) -> bool.
-
#normalize ⇒ Object
: -> Type.
-
#simplify ⇒ Object
: -> Type.
-
#to_rbi ⇒ Object
: -> String.
Instance Method Details
#==(other) ⇒ Object
: (BasicObject other) -> bool
162 163 164 |
# File 'lib/rbi/type.rb', line 162 def ==(other) SelfType === other end |
#normalize ⇒ Object
: -> Type
174 175 176 |
# File 'lib/rbi/type.rb', line 174 def normalize self end |
#simplify ⇒ Object
: -> Type
180 181 182 |
# File 'lib/rbi/type.rb', line 180 def simplify self end |
#to_rbi ⇒ Object
: -> String
168 169 170 |
# File 'lib/rbi/type.rb', line 168 def to_rbi "::T.self_type" end |