diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-02-16 15:24:05 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-02-16 15:34:16 -0800 |
commit | 7f86f2d3cc2a5bbb113aae7b5475b0c57d758a5f (patch) | |
tree | 16fee517d6430d3ea4268b9e00b71b946bef7806 /actionview | |
parent | f233598d2da773c2024cbe62a199ddc70d9fd7a1 (diff) | |
download | rails-7f86f2d3cc2a5bbb113aae7b5475b0c57d758a5f.tar.gz rails-7f86f2d3cc2a5bbb113aae7b5475b0c57d758a5f.tar.bz2 rails-7f86f2d3cc2a5bbb113aae7b5475b0c57d758a5f.zip |
remove more dead code
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/digestor.rb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/actionview/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb index 2cbfb3a8fb..08afa51135 100644 --- a/actionview/lib/action_view/digestor.rb +++ b/actionview/lib/action_view/digestor.rb @@ -86,10 +86,6 @@ module ActionView @children = children end - def to_dep(finder) - Digestor.new(name, finder, partial: false) - end - def digest(stack = []) Digest::MD5.hexdigest("#{template.source}-#{dependency_digest(stack)}") end @@ -113,15 +109,11 @@ module ActionView class Partial < Node; end class Missing < Node - def digest(_ = []) - '' - end + def digest(_ = []); '' end end class Injected < Node - def digest(_ = []) - name - end + def digest(_ = []); name end end class NullLogger |