Sha256: fcdd60a06abbc81d15c12398629419e4c38f8fa45d80bb686d8e9cdee45f078e

Contents?: true

Size: 425 Bytes

Versions: 24

Compression:

Stored size: 425 Bytes

Contents

module Sauce
  class TestGroup
    def initialize(platforms)
      @platforms = platforms
      @index = 0
    end

    def next_platform
      platform = @platforms[@index]
      @index += 1
      begin
        {
          'os' => platform[0],
          'browser' => platform[1],
          'version' => platform[2]
        }
      rescue NoMethodError => e
        puts "I don't have any config"
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
sauce-3.4.9 lib/sauce/parallel/test_group.rb
sauce-3.4.8 lib/sauce/parallel/test_group.rb
sauce-3.4.7 lib/sauce/parallel/test_group.rb
sauce-3.4.6 lib/sauce/parallel/test_group.rb
sauce-3.4.5 lib/sauce/parallel/test_group.rb
sauce-3.4.4 lib/sauce/parallel/test_group.rb
sauce-3.4.3 lib/sauce/parallel/test_group.rb
sauce-3.4.2 lib/sauce/parallel/test_group.rb
sauce-3.4.1 lib/sauce/parallel/test_group.rb
sauce-3.4.0 lib/sauce/parallel/test_group.rb
sauce-3.3.2 lib/sauce/parallel/test_group.rb
sauce-3.3.1 lib/sauce/parallel/test_group.rb
sauce-3.3.0 lib/sauce/parallel/test_group.rb
sauce-3.2.0 lib/sauce/parallel/test_group.rb
sauce-3.1.3 lib/sauce/parallel/test_group.rb
sauce-3.1.2 lib/sauce/parallel/test_group.rb
sauce-3.1.1 lib/sauce/parallel/test_group.rb
sauce-3.1.0 lib/sauce/parallel/test_group.rb
sauce-3.0.6 lib/sauce/parallel/test_group.rb
sauce-3.0.5 lib/sauce/parallel/test_group.rb