Drop symbolization in #generate_method

This commit is contained in:
namusyaka 2016-11-06 18:30:07 +09:00
parent af6dad2a6c
commit 79fe1e1347
1 changed files with 0 additions and 1 deletions

View File

@ -1624,7 +1624,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