aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-02-26 16:08:00 -0800
committerSteve Klabnik <steve@steveklabnik.com>2013-02-26 16:08:00 -0800
commitb080ad35a59ec5f39031277ea89181ca7b651b9a (patch)
tree28fe8e271f2139388fb262dbbf4498511093b9c5 /actionpack
parent6a235faa2a0496b88616aaf30ee1d0a60adaa0bb (diff)
parent16bd04f6bbb4bf461ca375e077e84e224552bc79 (diff)
downloadrails-b080ad35a59ec5f39031277ea89181ca7b651b9a.tar.gz
rails-b080ad35a59ec5f39031277ea89181ca7b651b9a.tar.bz2
rails-b080ad35a59ec5f39031277ea89181ca7b651b9a.zip
Merge pull request #9452 from frodsan/remove_private_attribute_warning
remove private attribute? warning
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/dependency_tracker.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/dependency_tracker.rb b/actionpack/lib/action_view/dependency_tracker.rb
index 3de5cd150b..a2a555dfcb 100644
--- a/actionpack/lib/action_view/dependency_tracker.rb
+++ b/actionpack/lib/action_view/dependency_tracker.rb
@@ -54,8 +54,10 @@ module ActionView
render_dependencies + explicit_dependencies
end
+ attr_reader :name, :template
+ private :name, :template
+
private
- attr_reader :name, :template
def source
template.source