method
new
new(generator, root = nil)
public
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 1116 def initialize(generator, root = nil) @generator = generator @generator << root if root end