class Dry::Types::Definition

def initialize(primitive, options = {})

Parameters:
  • options (Hash) --
  • primitive (Type, Class) --
def initialize(primitive, options = {})
  super
  @primitive = primitive
  freeze
end