Class: T::Types::TypedClass::Anything
- Inherits:
-
T::Types::TypedClass
- Object
- Base
- T::Types::TypedClass
- T::Types::TypedClass::Anything
- Defined in:
- lib/types/types/typed_class.rb
Defined Under Namespace
Modules: Private
Instance Method Summary collapse
- #freeze ⇒ Object
-
#initialize ⇒ Anything
constructor
A new instance of Anything.
Methods inherited from T::Types::TypedClass
#build_type, #name, #type, #underlying_class, #valid?
Methods inherited from Base
#==, #describe_obj, #error_message_for_obj, #error_message_for_obj_recursive, #hash, method_added, #recursively_valid?, #subtype_of?, #to_s, #validate!
Constructor Details
Instance Method Details
#freeze ⇒ Object
92 93 94 95 |
# File 'lib/types/types/typed_class.rb', line 92 def freeze build_type # force lazy initialization before freezing the object super end |