From 7a7b340ca2e8a0c18c218480823577e23ccadebd Mon Sep 17 00:00:00 2001 From: Ali Graham Date: Wed, 16 Apr 2014 14:22:46 +0930 Subject: [PATCH] add PATCH to wrapped rack methods --- lib/async_rack_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/async_rack_test.rb b/lib/async_rack_test.rb index 249e91b..c1fe7ed 100644 --- a/lib/async_rack_test.rb +++ b/lib/async_rack_test.rb @@ -28,7 +28,7 @@ def use_async self.instance_eval { class << self; self; end }.class_eval { alias :app :async_app } end - %w(get put post delete head options).each do |m| + %w(get post put patch delete head options).each do |m| eval <<-RUBY, binding, __FILE__, __LINE__ + 1 def a#{m}(*args) use_sync