Class: Randrizer::Types::BaseType

Inherits:
Object
  • Object
show all
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

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

Raises:



12
13
14
# File 'lib/randrizer/types/base_type.rb', line 12

def validate!
  raise NotImplementedError
end