lib/dry/schema.rb in dry-schema-1.4.1 vs lib/dry/schema.rb in dry-schema-1.4.2
- old
+ new
@@ -28,10 +28,10 @@
#
# @see DSL.new
#
# @api public
def self.define(**options, &block)
- DSL.new(options, &block).call
+ DSL.new(**options, &block).call
end
# Define a schema suitable for HTTP params
#
# This schema type uses `Types::Params` for coercion by default