lib/praxis/config.rb in praxis-2.0.pre.1 vs lib/praxis/config.rb in praxis-2.0.pre.2
- old
+ new
@@ -52,10 +52,10 @@
raise Exceptions::InvalidConfiguration.new(
"Incompatible type received for extending configuration key [#{key}]. Got type #{type.name}"
)
end
top.options.merge!(opts)
- top.type.attributes(opts, &block)
+ top.type.attributes(**opts, &block)
else
@attribute.attributes[key] = Attributor::Attribute.new(type, opts, &block)
end
else
raise Exceptions::InvalidConfiguration.new(