lib/dry/schema.rb in dry-schema-0.1.0 vs lib/dry/schema.rb in dry-schema-0.1.1
- old
+ new
@@ -12,10 +12,10 @@
# Define a schema
#
# @return [Processor]
#
# @api public
- def self.define(options = EMPTY_HASH, &block)
+ def self.define(**options, &block)
DSL.new(options, &block).call
end
# Define a param schema
#