Sha256: d1338b8292e0747570623a0ee5336c5b1892f2628b7359f32f179706d3257568
Contents?: true
Size: 346 Bytes
Versions: 2
Compression:
Stored size: 346 Bytes
Contents
require "ostruct" require "albacore/support/openstruct" module Configuration module NAnt include Albacore::Configuration def self.nantconfig @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NAnt) end def nant config ||= NAnt.nantconfig yield(config) if block_given? config end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | lib/albacore/config/nantconfig.rb |
albacore-1.0.0.rc.3 | lib/albacore/config/nantconfig.rb |