get '/', :agent => /curl/ do
(slow_thing, time) = slow_down(DEFAULT_SLEEP)
"SLOWER THAN #{slow_ting}. Putting the brakes on for #{time} seconds.\n"
end
It binds slow_thing and then references it as slow_ting (without the h) in the interpolation? What?
I don't know Ruby, but how does this work:
It binds slow_thing and then references it as slow_ting (without the h) in the interpolation? What?It appears twice so it must be intentional?