lib/shirinji/resolver.rb in shirinji-0.0.3 vs lib/shirinji/resolver.rb in shirinji-0.0.4
- old
+ new
@@ -69,9 +69,10 @@
end
def check_params!(params)
params.each do |pair|
next if ARG_TYPES.include?(pair.first)
+
raise ArgumentError, 'Only key arguments are allowed'
end
end
end
end