Class: TypeProf::Type::Any
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::TypeProf::Type
|
|
Instance Chain:
|
|
Inherits: |
TypeProf::Type
|
Defined in: | lib/typeprof/type.rb |
Constant Summary
::TypeProf::Type
- Inherited
Class Method Summary
- .new ⇒ Any constructor
::TypeProf::Type
- Inherited
Instance Method Summary
- #consistent?(_other) ⇒ Boolean
- #include_untyped?(_scratch) ⇒ Boolean
- #inspect
- #method_dispatch_info
- #screen_name(scratch)
- #substitute(_subst, _depth)
::TypeProf::Type
- Inherited
Constructor Details
.new ⇒ Any
# File 'lib/typeprof/type.rb', line 179
def initialize end
Instance Method Details
#consistent?(_other) ⇒ Boolean
# File 'lib/typeprof/type.rb', line 194
def consistent?(_other) raise "should not be called" end
#include_untyped?(_scratch) ⇒ Boolean
# File 'lib/typeprof/type.rb', line 202
def include_untyped?(_scratch) true end
#inspect
[ GitHub ]# File 'lib/typeprof/type.rb', line 182
def inspect "Type::Any" end
#method_dispatch_info
[ GitHub ]# File 'lib/typeprof/type.rb', line 190
def method_dispatch_info nil end
#screen_name(scratch)
[ GitHub ]# File 'lib/typeprof/type.rb', line 186
def screen_name(scratch) "untyped" end
#substitute(_subst, _depth)
[ GitHub ]# File 'lib/typeprof/type.rb', line 198
def substitute(_subst, _depth) self end