Sha256: ab40afb854ccc82cbbb1423e0d7a08de1aa0ded31783e5acba15e63621952937
Contents?: true
Size: 712 Bytes
Versions: 7
Compression:
Stored size: 712 Bytes
Contents
module TheArrayComparator module TestingHelper class TestData # Create test data instance # # @return [TestData] # the test data object used to generate the test data def initialize(dataset) @dataset = dataset @data = [] end # Generate the test data # # @return [Array] # the test data def generate if @data.blank? @dataset.count_of_keywords.times do @data.concat @dataset.stripe_of_data @data << @dataset.stripe_of_keywords end #put the rest into the output @data.concat @dataset.raw_data end @data end end end end
Version data entries
7 entries across 7 versions & 1 rubygems