Sha256: e8a01541f4e9b1de5359ef518f76cc0d8223a32b7852108204a7a1fa641f2d6c

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

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

module Configuration
  module NDepend
    include Albacore::Configuration

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

Version data entries

5 entries across 5 versions & 1 rubygems

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