Class: T::Types::TypedClass::Anything

Inherits:
T::Types::TypedClass show all
Defined in:
lib/types/types/typed_class.rb

Defined Under Namespace

Modules: Private

Instance Attribute Summary

Attributes inherited from T::Types::TypedClass

#type

Instance Method Summary collapse

Methods inherited from T::Types::TypedClass

#name, #underlying_class, #valid?

Methods inherited from Base

#==, #describe_obj, #error_message_for_obj, #error_message_for_obj_recursive, #hash, method_added, #name, #recursively_valid?, #subtype_of?, #to_s, #valid?, #validate!

Constructor Details

#initializeAnything

Returns a new instance of Anything.



76
77
78
# File 'lib/types/types/typed_class.rb', line 76

def initialize
  super(T.anything)
end