From 9830ebbeaf6f7faead9b4503ed9c9ab0a327df9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 16 Jul 2014 14:13:42 -0300 Subject: No need to have a file to PartialIteration class This class is only used on the PartialRenderer. --- actionpack/lib/action_view/partial_iteration.rb | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 actionpack/lib/action_view/partial_iteration.rb (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/partial_iteration.rb b/actionpack/lib/action_view/partial_iteration.rb deleted file mode 100644 index 5b33a40722..0000000000 --- a/actionpack/lib/action_view/partial_iteration.rb +++ /dev/null @@ -1,19 +0,0 @@ -module ActionView - class PartialIteration # :nodoc: - attr_reader :size, :index - - def initialize(size, index) - @size = size - @index = index - end - - def first? - index == 0 - end - - def last? - index == size - 1 - end - - end -end -- cgit v1.2.3