diff options
author | Mauro George <maurogot@gmail.com> | 2014-06-13 19:52:24 -0300 |
---|---|---|
committer | Mauro George <maurogot@gmail.com> | 2014-06-13 19:52:24 -0300 |
commit | 9999dc947fa45fcc2ca7d27dfcf04ebd078acda1 (patch) | |
tree | 668fd9437d99144596c795ecfa6315461d929dc7 /actionview/lib/action_view | |
parent | 24bcfed15dceb16641896d4b1a875e043d863221 (diff) | |
download | rails-9999dc947fa45fcc2ca7d27dfcf04ebd078acda1.tar.gz rails-9999dc947fa45fcc2ca7d27dfcf04ebd078acda1.tar.bz2 rails-9999dc947fa45fcc2ca7d27dfcf04ebd078acda1.zip |
Add RDoc about local_assigns
[ci skip]
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/template.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index 9d39d02a37..4cfd11fa20 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -252,6 +252,13 @@ module ActionView end end + ## + # :method: local_assigns + # + # Returns a hash with the defined local variables + # + # local_assigns[:full] # => true + # Among other things, this method is responsible for properly setting # the encoding of the compiled template. # |