Class: TypedRb::Types::TyUnit
- Defined in:
- lib/typed/types/ty_object.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from TyObject
#classes, #hierarchy, #modules, #ruby_type, #with_ruby_type
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(node = nil) ⇒ TyUnit
constructor
A new instance of TyUnit.
Methods inherited from TyObject
#<=>, #as_object_type, #check_type, #compatible?, #dynamic?, #either?, #find_function_type, #find_function_type_in_hierarchy, #find_var_type, #generic?, #join, #max, #resolve_ruby_method, #singleton?, #to_s, #union
Methods included from Comparable
Methods inherited from Type
#compatible?, #either?, #stack_jump?
Constructor Details
#initialize(node = nil) ⇒ TyUnit
Returns a new instance of TyUnit.
248 249 250 |
# File 'lib/typed/types/ty_object.rb', line 248 def initialize(node = nil) super(NilClass, node) end |