Sha256: b20a601d4a849b196dacfe0c137df4a1f4af96caea7b7ed90ee0fc3e170bfe28

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

module Cucumber
  module Filters

    class Quit
      def initialize(receiver)
        @receiver = receiver
      end

      def test_case(test_case)
        unless Cucumber.wants_to_quit
          test_case.describe_to @receiver
        end
        self
      end

      def done
        @receiver.done
        self
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cucumber-2.0.0.beta.5 lib/cucumber/filters/quit.rb
cucumber-2.0.0.beta.4 lib/cucumber/filters/quit.rb