aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/template.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb
index 6b61378a1f..465022f714 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.
#