mirror of https://github.com/reiseburo/hermann
delete options in Consumer#initialize before passing along
This commit is contained in:
parent
6db14ceeb7
commit
71c21d327e
|
@ -52,7 +52,7 @@ module Hermann
|
|||
def require_values_at(opts, *args)
|
||||
args.map do |a|
|
||||
raise "Please provide :#{a} option!" unless opts[a]
|
||||
opts[a]
|
||||
opts.delete(a)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue