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