lib/tram/policy/dsl.rb in tram-policy-2.0.1 vs lib/tram/policy/dsl.rb in tram-policy-2.1.0
- old
+ new
@@ -16,11 +16,11 @@
# Policy constructor/validator (alias for [.new])
#
# @param [Object] *args
# @return [Tram::Policy]
#
- def [](*args)
- new(*args)
+ def [](*args, **kwargs)
+ new(*args, **kwargs)
end
# Sets the root scope of the policy and its subclasses
#
# @param [String, Array<String>] value