Class: T::Types::Untyped
Overview
A dynamic type, which permits whatever
Instance Method Summary collapse
-
#initialize ⇒ Untyped
constructor
A new instance of Untyped.
- #name ⇒ Object
- #valid?(obj) ⇒ Boolean
Methods inherited from Base
#==, #describe_obj, #error_message_for_obj, #hash, method_added, #subtype_of?, #to_s, #validate!
Constructor Details
#initialize ⇒ Untyped
Returns a new instance of Untyped.
8 |
# File 'lib/types/types/untyped.rb', line 8 def initialize; end |
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/types/types/untyped.rb', line 11 def name "T.untyped" end |
#valid?(obj) ⇒ Boolean
16 17 18 |
# File 'lib/types/types/untyped.rb', line 16 def valid?(obj) true end |