aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/partial_iteration.rb19
1 files changed, 0 insertions, 19 deletions
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