Sha256: bc6c07f6871e6215c8514f2797b25f8d80cd43c028f25663820bb9fe68e35a7b

Contents?: true

Size: 256 Bytes

Versions: 9

Compression:

Stored size: 256 Bytes

Contents

module Finitio
  class SeqType

    def generate_data(generator, world = nil)
      coll = []
      generator.collection_size.times do
        coll << generator.call(elm_type, world)
      end
      coll
    end

  end # class SeqType
end # module Finitio

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
finitio-0.12.0 lib/finitio/generation/seq_type.rb
finitio-0.11.4 lib/finitio/generation/seq_type.rb
finitio-0.11.3 lib/finitio/generation/seq_type.rb
finitio-0.11.2 lib/finitio/generation/seq_type.rb
finitio-0.11.1 lib/finitio/generation/seq_type.rb
finitio-0.10.0 lib/finitio/generation/seq_type.rb
finitio-0.9.1 lib/finitio/generation/seq_type.rb
finitio-0.9.0 lib/finitio/generation/seq_type.rb
finitio-0.8.0 lib/finitio/generation/seq_type.rb