Sha256: 1dd6cc612e5ceb3dabf9a2ce52af882ed1a3ad3a0d50ed5f1d4561a17f5d5897

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'allure-ruby-adaptor-api/version'
require 'allure-ruby-adaptor-api/builder'

module AllureRubyAdaptorApi
  module Config
    class << self
      attr_accessor :output_dir

      DEFAULT_OUTPUT_DIR = 'allure/data'

      def output_dir
        @output_dir || DEFAULT_OUTPUT_DIR
      end
    end
  end

  class << self
    def configure(&block)
      yield Config
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
allure-ruby-adaptor-api-0.6.2 lib/allure-ruby-adaptor-api.rb
allure-ruby-adaptor-api-0.6.1 lib/allure-ruby-adaptor-api.rb