Need to experiment if this priority is the best one: rendered => output_buffer
Methods
Class Public methods
new()
Source:
# File actionview/lib/action_view/test_case.rb, line 136
def initialize
@rendered_views ||= Hash.new { |hash, key| hash[key] = [] }
end
Instance Public methods
add(view, locals)
Source:
# File actionview/lib/action_view/test_case.rb, line 140
def add(view, locals)
@rendered_views[view] ||= []
@rendered_views[view] << locals
end
locals_for(view)
Source:
# File actionview/lib/action_view/test_case.rb, line 145
def locals_for(view)
@rendered_views[view]
end