lib/schemacop/v3/node.rb in schemacop-3.0.0.rc0 vs lib/schemacop/v3/node.rb in schemacop-3.0.0.rc1
- old
+ new
@@ -115,10 +115,10 @@
def dsl_scm(name, type = :hash, **options, &block)
@schemas[name] = create(type, **options, &block)
end
- def dsl_node(node)
+ def dsl_node(node, *_args, **_kwargs)
add_child node
end
def schemas
(parent&.schemas || {}).merge(@schemas)