Module: CWlogsIO::Utils
- Defined in:
- lib/cwlogs_io/utils.rb
Class Method Summary collapse
Class Method Details
.chunks(array, size) ⇒ Object
5 6 7 |
# File 'lib/cwlogs_io/utils.rb', line 5 def self.chunks(array, size) array.each_slice(size) end |