lib/benchmark_driver/struct.rb in benchmark_driver-0.15.5 vs lib/benchmark_driver/struct.rb in benchmark_driver-0.15.6
- old
+ new
@@ -59,10 +59,10 @@
attr_accessor :defaults
end
klass.defaults = defaults
klass.prepend(Module.new {
- def initialize(**)
+ def initialize(*)
super
self.class.defaults.each do |key, value|
if public_send(key).nil?
begin
value = value.dup