Class: T::Private::Types::Void
- Inherits:
-
Types::Base
- Object
- Types::Base
- T::Private::Types::Void
- Defined in:
- lib/types/private/types/void.rb
Defined Under Namespace
Constant Summary collapse
- ERROR_MESSAGE =
"Validation is being done on an `Void`. Please report this bug at https://github.com/sorbet/sorbet/issues"
Instance Method Summary collapse
-
#name ⇒ Object
overrides Base.
-
#valid?(obj) ⇒ Boolean
overrides Base.
Methods inherited from Types::Base
#==, #describe_obj, #error_message_for_obj, #error_message_for_obj_recursive, #hash, method_added, #recursively_valid?, #subtype_of?, #to_s, #validate!
Instance Method Details
#name ⇒ Object
overrides Base
22 23 24 |
# File 'lib/types/private/types/void.rb', line 22 def name "<VOID>" end |
#valid?(obj) ⇒ Boolean
overrides Base
27 28 29 |
# File 'lib/types/private/types/void.rb', line 27 def valid?(obj) raise ERROR_MESSAGE end |