Sha256: 9772e52b4e881aeb7d1a3784207b300d85b7c6ee4d82daec36491cb6793dc247

Contents?: true

Size: 337 Bytes

Versions: 5

Compression:

Stored size: 337 Bytes

Contents

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

module Configuration
  module NCoverReport
    include Albacore::Configuration

    def ncoverreport
      @ncoverreportconfig ||= OpenStruct.new.extend(OpenStructToHash)
      yield(@ncoverreportconfig) if block_given?
      @ncoverreportconfig
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/config/ncoverreportconfig.rb
albacore-0.2.4 lib/albacore/config/ncoverreportconfig.rb
albacore-0.2.3 lib/albacore/config/ncoverreportconfig.rb
albacore-0.2.2 lib/albacore/config/ncoverreportconfig.rb
albacore-0.2.0.preview2 lib/albacore/config/ncoverreportconfig.rb