lib/cistern/client.rb in cistern-2.8.2 vs lib/cistern/client.rb in cistern-2.10.0
- old
+ new
@@ -246,14 +246,14 @@
def requests
@_requests ||= []
end
- def requires(*args)
+ def requires(*args, **kwargs)
required_arguments.concat(args)
end
- def recognizes(*args)
+ def recognizes(*args, **kwargs)
recognized_arguments.concat(args)
end
def validate_options(options = {})
required_options = Cistern::Hash.slice(options, *required_arguments)