Class: TSJSON::AnyType
- Inherits:
-
ScalarType
- Object
- Base
- ScalarType
- TSJSON::AnyType
- Defined in:
- lib/types/any.rb
Instance Attribute Summary
Attributes inherited from ScalarType
Instance Method Summary collapse
-
#initialize ⇒ AnyType
constructor
A new instance of AnyType.
- #validate(value) ⇒ Object
Methods inherited from ScalarType
Methods inherited from Base
#compile, #index, #property, #valid?
Constructor Details
#initialize ⇒ AnyType
Returns a new instance of AnyType.
5 6 7 |
# File 'lib/types/any.rb', line 5 def initialize super('Any') end |
Instance Method Details
#validate(value) ⇒ Object
9 10 11 |
# File 'lib/types/any.rb', line 9 def validate(value) true end |