1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

cascade NoMethodError to super for better response to user

This commit is contained in:
Blake Mizerany 2008-04-15 19:11:10 -07:00
parent 28b12858d6
commit 0da75abb02

View file

@ -46,7 +46,7 @@ module Sinatra
end
def method_missing(name, *args)
@response.send(name, *args)
@response.send(name, *args) rescue super
end
end