From 7f86f2d3cc2a5bbb113aae7b5475b0c57d758a5f Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 16 Feb 2016 15:24:05 -0800 Subject: remove more dead code --- actionview/lib/action_view/digestor.rb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'actionview') 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 -- cgit v1.2.3