Sha256: 0354171be44317bf9a433eff6f1ee33b6770647352418f1e8515c4a0d92a729b

Contents?: true

Size: 481 Bytes

Versions: 5

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require 'yaml'
require 'cucumber/encoding'
require 'cucumber/platform'
require 'cucumber/runtime'
require 'cucumber/cli/main'
require 'cucumber/step_definitions'
require 'cucumber/term/ansicolor'

module Cucumber
  class << self
    attr_accessor :wants_to_quit

    def logger
      return @log if @log
      @log = Logger.new(STDOUT)
      @log.level = Logger::INFO
      @log
    end

    def logger=(logger)
      @log = logger
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
cucumber-3.2.0 lib/cucumber.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/cucumber-3.1.2/lib/cucumber.rb
cucumber-4.0.0.rc.1 lib/cucumber.rb
cucumber-3.1.2 lib/cucumber.rb
cucumber-3.1.1 lib/cucumber.rb