Sha256: e37e0054c106563ec0093390ca33cc02d2cadfe0ef7596dc7eacc12b0ac4b316

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

require 'ostruct'
require 'albacore/support/openstruct'

module Configuration
  module NCoverConsole
    @ncoverconsoleconfig = OpenStruct.new.extend(OpenStructToHash)

    def self.ncoverconsoleconfig
      @ncoverconsoleconfig
    end

    def ncoverconsole
      config = NCoverConsole.ncoverconsoleconfig
      yield(config) if block_given?
      config
    end
  end
end

class Albacore::Configuration
  include Configuration::NCoverConsole
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
albacore-0.2.0.preview1 lib/albacore/config/ncoverconsoleconfig.rb