Class: RBS::Types::Bases::Any
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Base
|
|
|
Instance Chain:
|
|
| Inherits: |
RBS::Types::Bases::Base
|
| Defined in: | lib/rbs/types.rb |
Class Method Summary
Instance Attribute Summary
Base - Inherited
Instance Method Summary
Base - Inherited
::RBS::Types::NoTypeName - Included
::RBS::Types::EmptyEachType - Included
::RBS::Types::NoSubst - Included
::RBS::Types::NoFreeVariables - Included
Constructor Details
.new(location:, todo: false) ⇒ Any
# File 'lib/rbs/types.rb', line 110
def initialize(location:, todo: false) super(location: location) if todo @string = "__todo__" end end
Instance Method Details
#to_s(level = 0)
[ GitHub ]# File 'lib/rbs/types.rb', line 117
def to_s(level=0) @string || "untyped" end