lib/benchmark_driver/struct.rb in benchmark_driver-0.10.11 vs lib/benchmark_driver/struct.rb in benchmark_driver-0.10.12
- old
+ new
@@ -31,10 +31,10 @@
klass.prepend(Module.new {
# @param [Hash{ Symbol => Object }] args
def initialize(**args)
args.each do |key, value|
unless members.include?(key)
- raise ArgumentError.new("unknwon keywords: #{key}")
+ raise ArgumentError.new("unknown keywords: #{key}")
next
end
public_send("#{key}=", value)
end