Sha256: 832e6dff2e29fe2cd16f2425ca9959e69cb7b3aed25310f02f330a8bcfc499d6

Contents?: true

Size: 230 Bytes

Versions: 2

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

class DummyIterator
  def initialize(array)
    @array = array
  end

  def map(*args, &block)
    @array.map(*args, &block)
  end

  def each(*args, &block)
    @array.each(*args, &block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
darthjee-core_ext-2.0.0 spec/support/models/dummy_iterator.rb
darthjee-core_ext-1.7.4 spec/support/models/dummy_iterator.rb