Sha256: 6d54d33d93b5122fc96e7b97aaa014a86faa6e9e56230559903101d0fd6ceb68

Contents?: true

Size: 297 Bytes

Versions: 5

Compression:

Stored size: 297 Bytes

Contents

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

module Configuration
  module NAnt
    include Albacore::Configuration

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

Version data entries

5 entries across 5 versions & 1 rubygems

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