Module: Configuration::MSpec

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

Instance Method Summary collapse

Methods included from Albacore::Configuration

included

Instance Method Details

#mspec {|@mspecconfig| ... } ⇒ Object

Yields:

  • (@mspecconfig)


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

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