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