Module: Configuration::NChurn

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

Instance Method Summary collapse

Methods included from Albacore::Configuration

included

Instance Method Details

#nchurn {|@nchurnconfig| ... } ⇒ Object

Yields:

  • (@nchurnconfig)


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

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