class Randrizer::Types::BaseType
Public Class Methods
build(*args, &block)
click to toggle source
# File lib/randrizer/types/base_type.rb, line 19 def build(*args, &block) new(*args, &block) end
Also aliased as: []
new(*args, **kwargs, &block)
click to toggle source
# File lib/randrizer/types/base_type.rb, line 9 def initialize(*args, **kwargs, &block); end
Public Instance Methods
validate!()
click to toggle source
@raise [TypeValidationError] if the arguments given to the type are not valid
# File lib/randrizer/types/base_type.rb, line 12 def validate! raise NotImplementedError end