class String
define_method "test_params" do |a,b,*c|
puts c.inspect
end
end

"this will break".test_params("foo","bar","baz")

# ArgumentError: method 'test_params': given 3, expected 2