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