Class: Dry::Types::Hash::Constructor
- Inherits:
-
Constructor
- Object
- Nominal
- Constructor
- Dry::Types::Hash::Constructor
- Defined in:
- lib/dry/types/hash/constructor.rb
Instance Attribute Summary collapse
- #options ⇒ Hash included from Options readonly private
Instance Method Summary collapse
Constructor Details
This class inherits a constructor from Dry::Types::Constructor
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Dry::Types::Constructor
Instance Attribute Details
Instance Method Details
#constructor_type ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/dry/types/hash/constructor.rb', line 11 def constructor_type ::Dry::Types::Hash::Constructor end |
#lax ⇒ Lax
18 19 20 |
# File 'lib/dry/types/hash/constructor.rb', line 18 def lax type.lax.constructor(fn, meta: ) end |
#schema ⇒ Object
25 26 27 |
# File 'lib/dry/types/hash/constructor.rb', line 25 def schema(...) type.schema(...).constructor(fn, meta: ) end |