mirror of
https://github.com/moebooru/moebooru
synced 2025-08-29 13:07:41 +00:00
Use BasicObject as per suggestion
This commit is contained in:
parent
6204d1e51a
commit
5156a03ac6
@ -649,7 +649,7 @@ module ActionView
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Converts chained method calls on DOM proxy elements into JavaScript chains
|
# 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)
|
def initialize(generator, root = nil)
|
||||||
@generator = generator
|
@generator = generator
|
||||||
@generator << root if root
|
@generator << root if root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user