Class: RBI::Type::Anything
- Inherits:
-
Type
- Object
- Type
- RBI::Type::Anything
- Defined in:
- lib/rbi/type.rb
Overview
T.anything.
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
54 55 56 |
# File 'lib/rbi/type.rb', line 54 def ==(other) Anything === other end |
#normalize ⇒ Object
: -> Type
66 67 68 |
# File 'lib/rbi/type.rb', line 66 def normalize self end |
#simplify ⇒ Object
: -> Type
72 73 74 |
# File 'lib/rbi/type.rb', line 72 def simplify self end |
#to_rbi ⇒ Object
: -> String
60 61 62 |
# File 'lib/rbi/type.rb', line 60 def to_rbi "::T.anything" end |