class Dry::Types::Constrained
def initialize(type, **options)
- Api: - public
Parameters:
-
options
(Hash
) -- -
type
(Type
) --
def initialize(type, **options) super @rule = options.fetch(:rule) end
options
(Hash
)
--
type
(Type
)
--
def initialize(type, **options) super @rule = options.fetch(:rule) end