Sha256: d6a580790f77fb6219dd01641cfdf28e16ecb14cfd40e56cdcc45cbd60c7c4a5

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

module Finitio
  class SetType

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

  end # class SetType
end # module Finitio

Version data entries

9 entries across 9 versions & 1 rubygems

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