Module: Configuration::Docu
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.docuconfig ⇒ Object
8 9 10 |
# File 'lib/albacore/config/docuconfig.rb', line 8 def self.docuconfig @docuconfig ||= OpenStruct.new.extend(OpenStructToHash) end |
.included(obj) ⇒ Object
18 19 20 |
# File 'lib/albacore/config/docuconfig.rb', line 18 def self.included(obj) docuconfig.command = "Docu.exe" end |
Instance Method Details
#docu {|config| ... } ⇒ Object
12 13 14 15 16 |
# File 'lib/albacore/config/docuconfig.rb', line 12 def docu config = Docu.docuconfig yield(config) if block_given? config end |