Sha256: 9784e19083c5c8dcf17832194a627906a1ea93d829e84ffc19deb8ba8e5b702f
Contents?: true
Size: 443 Bytes
Versions: 17
Compression:
Stored size: 443 Bytes
Contents
require 'r10k/source' require 'r10k-mocks/mock_env' class R10K::Source::Mock < R10K::Source::Base R10K::Source.register(:mock, self) def environments corrected_environment_names = @options[:environments].map do |env| R10K::Environment::Name.new(env, :prefix => @prefix, :invalid => 'correct_and_warn') end corrected_environment_names.map { |env| R10K::Environment::Mock.new(env.name, @basedir, env.dirname) } end end
Version data entries
17 entries across 17 versions & 1 rubygems