Sha256: 81bd8ec4b503ad3e2f03f347609dc0ad98cb22bcdfaa72e1fd04973e0398eb4e
Contents?: true
Size: 503 Bytes
Versions: 13
Compression:
Stored size: 503 Bytes
Contents
module Sauce class TestGroup def initialize(platforms) @platforms = platforms @index = 0 end def next_platform platform = @platforms[@index] @index += 1 begin caps ={ 'os' => platform[0], 'browser' => platform[1], 'version' => platform[2] } caps.merge!({:caps => platform[3]}) if platform[3] caps rescue NoMethodError => e puts "I don't have any config" end end end end
Version data entries
13 entries across 13 versions & 2 rubygems