Merge pull request #1198 from namusyaka/drop-patch-for-jruby

Drop symbolization in #generate_method
This commit is contained in:
Zachary Scott 2016-12-25 17:29:03 +09:00 committed by GitHub
commit 45afdc33a5
1 changed files with 0 additions and 1 deletions

View File

@ -1621,7 +1621,6 @@ module Sinatra
end
def generate_method(method_name, &block)
method_name = method_name.to_sym
define_method(method_name, &block)
method = instance_method method_name
remove_method method_name