diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-15 09:08:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-15 09:08:40 +0300 |
commit | 1e9d859394883d104191c51fa18c2353f7bcc1fd (patch) | |
tree | 802d89d8ae8004805a656dfc764fde2775248b9d /lib/csv_builders | |
parent | 31169f0b93010da91b59cada40e17c67295038df (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/csv_builders')
-rw-r--r-- | lib/csv_builders/single_batch.rb | 11 |
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 |