mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
Use BasicObject as per suggestion
This commit is contained in:
parent
6204d1e51a
commit
5156a03ac6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user