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