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