module AsyncPartial::PartialRenderer
Private Instance Methods
collection_with_template()
click to toggle source
Calls superclass method
# File lib/async_partial.rb, line 17 def collection_with_template super.map do |v| v.value if AsyncPartial::AsyncResult === v end end
render_partial()
click to toggle source
Calls superclass method
# File lib/async_partial.rb, line 9 def render_partial if @locals.delete :async AsyncResult.new(Thread.new { super }) else super end end