lib/schemacop/schema2.rb in schemacop-3.0.0.rc0 vs lib/schemacop/schema2.rb in schemacop-3.0.0.rc1
- old
+ new
@@ -1,10 +1,10 @@
module Schemacop
class Schema2 < BaseSchema
- def initialize(*args, &block)
+ def initialize(*args, **kwargs, &block)
super()
@root = V2::HashValidator.new do
- req :root, *args, &block
+ req :root, *args, **kwargs, &block
end
end
# Validate data for the defined Schema
#