Sha256: f981db0caa81b8c30f73530a388b2bf340d5b6732b5d1fd6edf845d9910e569e

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

# frozen_string_literal: true

module Support
  module Helper
    def build_elements(name, num)
      array = []
      Array.new(num).each_with_index.map do |_x, i|
        array << "#{name}-#{i}"
      end
      array
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qfill-0.1.1 spec/support/helper.rb
qfill-0.1.0 spec/support/helper.rb