Drop symbolization in #generate_method
This commit is contained in:
parent
af6dad2a6c
commit
79fe1e1347
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue