Sha256: afbb04732d3af23291b0720fd7892636311db17c209507ad28e276648d58a13c
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
require_relative "./hyper_iterator/version" require_relative "./iterators/each_bang" require_relative "./iterators/each_slice_bang" module HyperIterator AVAILABLE_METHODS = [ :each_slice!, :each! ].freeze def self.each!(arr) arr.each! { |el| yield el } end end Array.include HyperIterator
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyper_iterator-0.3.0 | lib/hyper_iterator.rb |