Class: Typedocs::TypeSpec::Any
- Inherits:
-
Typedocs::TypeSpec
- Object
- Typedocs::TypeSpec
- Typedocs::TypeSpec::Any
- Defined in:
- lib/typedocs/type_spec.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#error_message_for(arg) ⇒ Object
24 25 26 |
# File 'lib/typedocs/type_spec.rb', line 24 def (arg) raise "This spec accepts ANY value" end |
#to_source ⇒ Object
23 |
# File 'lib/typedocs/type_spec.rb', line 23 def to_source; '_'; end |
#valid?(arg) ⇒ Boolean
22 |
# File 'lib/typedocs/type_spec.rb', line 22 def valid?(arg); true; end |