Sha256: e0586aee905ab5e5d4b9ccf2ed3c107c16dc54d76781a6380c0f47432bf7e2e3

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

require "ostruct"
require "albacore/support/openstruct"

module Configuration
  module MSTest
    include Albacore::Configuration

    def self.mstestconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(MSTest)
    end

    def mstest
      config ||= MSTest.mstestconfig
      yield(config) if block_given?
      config
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 lib/albacore/config/mstestconfig.rb
albacore-1.0.0.rc.3 lib/albacore/config/mstestconfig.rb