Sha256: ba23775278c0d7702983892c0b6c21f94e5fd8d8df0348c22676d5a818c61376

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

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

module Configuration
  module NCoverConsole
    include Albacore::Configuration

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

Version data entries

5 entries across 5 versions & 1 rubygems

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