Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csv_builders/single_batch.rb')
-rw-r--r--lib/csv_builders/single_batch.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/csv_builders/single_batch.rb b/lib/csv_builders/single_batch.rb
new file mode 100644
index 00000000000..bed6b7424b3
--- /dev/null
+++ b/lib/csv_builders/single_batch.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+module CsvBuilders
+ class SingleBatch < CsvBuilder
+ protected
+
+ def each(&block)
+ @collection.each(&block)
+ end
+ end
+end