module AsyncPartial::CollectionPartialTemplateRenderer

Public Instance Methods

render(view, locals, buffer = nil, &block) click to toggle source
Calls superclass method
# File lib/async_partial.rb, line 25
def render(view, locals, buffer = nil, &block)
  locals = locals.dup
  if locals.delete :async
    AsyncResult.new(Thread.new { super })
  else
    super
  end
end