method
new
v2.1.0 -
Show latest stable
-
0 notes -
Class: ActionView::Helpers::PrototypeHelper::JavaScriptGenerator
new(context, &block)
public
Hide source
# File actionpack/lib/action_view/helpers/prototype_helper.rb, line 578 def initialize(context, &block) #:nodoc: @context, @lines = context, [] include_helpers_from_context @context.instance_exec(self, &block) end