class ActionView::Helpers::PrototypeHelper::JavaScriptGenerator

:nodoc:
#include_helpers_from_context has nothing to overwrite.
All the methods were moved to GeneratorMethods so that

def include_helpers_from_context

def include_helpers_from_context
  extend @context.helpers if @context.respond_to?(:helpers)
  extend GeneratorMethods
end

def initialize(context, &block) #:nodoc:

:nodoc:
:nodoc:
#include_helpers_from_context has nothing to overwrite.
All the methods were moved to GeneratorMethods so that
def initialize(context, &block) #:nodoc:
  @context, @lines = context, []
  include_helpers_from_context
  @context.with_output_buffer(@lines) do
    @context.instance_exec(self, &block)
  end
end