Sha256: ed4f64f8067ecda62032ccdbf2bb3e2f7e3beaaef0dddf2f7892904d454069ac

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

require "ostruct"
require "albacore/support/openstruct"

module Configuration
  module NCoverReport
    include Albacore::Configuration

    def self.ncoverreportconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NCoverReport)
    end

    def ncoverreport
      config ||= NCoverReport.ncoverreportconfig
      yield(config) if block_given?
      config
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 lib/albacore/config/ncoverreportconfig.rb
albacore-1.0.0.rc.3 lib/albacore/config/ncoverreportconfig.rb