Sha256: 9bf42e89fe2b6bc64cf254fd941eee7bfb7a7c8f98a179411296082343516748

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require 'ostruct'
require 'albacore/support/openstruct'

module Configuration
  module XUnit
    @xunitconfig = OpenStruct.new.extend(OpenStructToHash)

    def self.xunitconfig
      @xunitconfig
    end

    def xunit
      config = XUnit.xunitconfig
      yield(config) if block_given?
      config
    end
  end
end

class Albacore::Configuration
  include Configuration::XUnit
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
albacore-0.2.0.preview1 lib/albacore/config/xunitconfig.rb