Explicitly qualify constants in BasicObjects

This commit is contained in:
Jeremy Kemper
2009-06-08 15:04:26 -07:00
parent c1fcabb350
commit d3078b540e

View File

@@ -1176,7 +1176,7 @@ module ActionView
class JavaScriptVariableProxy < JavaScriptProxy #:nodoc:
def initialize(generator, variable)
@variable = ActiveSupport::JSON::Variable.new(variable)
@variable = ::ActiveSupport::JSON::Variable.new(variable)
@empty = true # only record lines if we have to. gets rid of unnecessary linebreaks
super(generator)
end