mirror of
https://github.com/moebooru/moebooru
synced 2025-08-30 13:37:48 +00:00
Use BasicObject as per suggestion
This commit is contained in:
@@ -649,7 +649,7 @@ module ActionView
|
||||
end
|
||||
|
||||
# Converts chained method calls on DOM proxy elements into JavaScript chains
|
||||
class JavaScriptProxy < ActiveSupport::ProxyObject # :nodoc:
|
||||
class JavaScriptProxy < ::BasicObject # :nodoc:
|
||||
def initialize(generator, root = nil)
|
||||
@generator = generator
|
||||
@generator << root if root
|
||||
|
Reference in New Issue
Block a user