Sha256: 97c17ed1639b0d171b7290474741643e1e7c45d82512dc4abf2e4e4824c94b09
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
require "ostruct" require "albacore/support/openstruct" module Configuration module XBuild include Albacore::Configuration def self.xbuildconfig @config ||= OpenStruct.new.extend(OpenStructToHash).extend(XBuild) end def xbuild config ||= XBuild.xbuildconfig 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/xbuildconfig.rb |
albacore-1.0.0.rc.3 | lib/albacore/config/xbuildconfig.rb |