Module: Configuration::Exec

Includes:
Albacore::Configuration
Defined in:
lib/albacore/config/execconfig.rb

Instance Method Summary collapse

Methods included from Albacore::Configuration

included

Instance Method Details

#exec {|@execconfig| ... } ⇒ Object

Yields:

  • (@execconfig)


8
9
10
11
12
# File 'lib/albacore/config/execconfig.rb', line 8

def exec
  @execconfig ||= OpenStruct.new.extend(OpenStructToHash)
  yield(@execconfig) if block_given?
  @execconfig
end