Sha256: 646b5b8fb1ff050ba9664ebac34ae4d2905b17a0a416a1a101a90f590a88d9db

Contents?: true

Size: 372 Bytes

Versions: 11

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

module Gurke
  #
  # A {RunList} is a list of {Background}, {Scenario}
  # or {Step} objects that can be {#run}.
  #
  class RunList < Array
    #
    # Run all backgrounds from this list.
    #
    # @api private
    #
    def run(runner, reporter, *args)
      each do |o|
        o.run runner, reporter, *args
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gurke-3.4.0 lib/gurke/run_list.rb
gurke-3.3.5 lib/gurke/run_list.rb
gurke-3.3.4 lib/gurke/run_list.rb
gurke-3.3.3 lib/gurke/run_list.rb
gurke-3.3.2 lib/gurke/run_list.rb
gurke-3.3.1 lib/gurke/run_list.rb
gurke-3.2.2 lib/gurke/run_list.rb
gurke-3.2.1 lib/gurke/run_list.rb
gurke-3.2.0 lib/gurke/run_list.rb
gurke-3.1.0 lib/gurke/run_list.rb
gurke-3.0.0 lib/gurke/run_list.rb