Sha256: a7d8026b51a6b27c8eac7a0ccac53dea95fb9201edcacd66729c7a660348ebe8

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 Bytes

Contents

require 'ostruct'
require 'albacore/support/openstruct'

module Configuration
  module Docu
    include Albacore::Configuration
    
    def self.docuconfig
      @docuconfig ||= OpenStruct.new.extend(OpenStructToHash)
    end

    def docu
      config = Docu.docuconfig
      yield(config) if block_given?
      config
    end

    def self.included(obj)
      docuconfig.command = "Docu.exe"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/config/docuconfig.rb
albacore-0.2.4 lib/albacore/config/docuconfig.rb
albacore-0.2.3 lib/albacore/config/docuconfig.rb
albacore-0.2.2 lib/albacore/config/docuconfig.rb
albacore-0.2.0.preview2 lib/albacore/config/docuconfig.rb