Sha256: cbbdfb933105139edbf3589ca83e1fbed551ad9987c26e9fb013ba34c1576840

Contents?: true

Size: 560 Bytes

Versions: 5

Compression:

Stored size: 560 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'yaml'
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 & 1 rubygems

Version Path
cucumber-2.0.0.beta.5 lib/cucumber.rb
cucumber-2.0.0.beta.4 lib/cucumber.rb
cucumber-2.0.0.beta.3 lib/cucumber.rb
cucumber-2.0.0.beta.2 lib/cucumber.rb
cucumber-2.0.0.beta.1 lib/cucumber.rb