Module: Configuration::XUnit

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

Instance Method Summary collapse

Methods included from Albacore::Configuration

included

Instance Method Details

#xunit {|@xunitconfig| ... } ⇒ Object

Yields:

  • (@xunitconfig)


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

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