Methods
- R
Attributes
[RW] | locals |
Instance Public methods
# File actionpack/lib/action_view/test_case.rb, line 158 def render(options = {}, local_assigns = {}) case options when Hash if block_given? locals[options[:layout]] = options[:locals] elsif options.key?(:partial) locals[options[:partial]] = options[:locals] end else locals[options] = local_assigns end super end