Sha256: b42cf6a1ed559475181f883a01f3478b172460db62ee02fda7673ac1adbead66

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

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

module Configuration
  module NCoverReport
    @ncoverreportconfig = OpenStruct.new.extend(OpenStructToHash)

    def self.ncoverreportconfig
      @ncoverreportconfig
    end

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

class Albacore::Configuration
  include Configuration::NCoverReport
end

Version data entries

1 entries across 1 versions & 1 rubygems

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