Class: Randrizer::Types::BaseType
- Inherits:
-
Object
- Object
- Randrizer::Types::BaseType
- Defined in:
- lib/randrizer/types/base_type.rb
Direct Known Subclasses
Bool, Const, Dict, Float, Int, List, Nullable, OneOf, Optional, Skip, String, StringSequence
Instance Method Summary collapse
-
#initialize(*args, **kwargs, &block) ⇒ BaseType
constructor
A new instance of BaseType.
- #validate! ⇒ Object
Constructor Details
#initialize(*args, **kwargs, &block) ⇒ BaseType
Returns a new instance of BaseType.
9 |
# File 'lib/randrizer/types/base_type.rb', line 9 def initialize(*args, **kwargs, &block); end |
Instance Method Details
#validate! ⇒ Object
12 13 14 |
# File 'lib/randrizer/types/base_type.rb', line 12 def validate! raise NotImplementedError end |