method
new
new(generator, id)
public
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 688 def initialize(generator, id) @id = id super(generator, "$(#{::ActiveSupport::JSON.encode(id)})") end