mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Merge pull request #1198 from namusyaka/drop-patch-for-jruby
Drop symbolization in #generate_method
This commit is contained in:
commit
45afdc33a5
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue