Sha256: 60d9d0b8d84e0f47d543039eb60bf669dfd8fddb639805d8542ef719900817bf

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

require 'r10k/feature/collection'
require 'forwardable'
require 'r10k/util/commands'

module R10K
  module Features
    @features = R10K::Feature::Collection.new

    class << self
      extend Forwardable
      def_delegators :@features, :add, :available?
    end
  end
end

R10K::Features.add(:shellgit) { R10K::Util::Commands.which('git') }

R10K::Features.add(:rugged, :libraries => 'rugged')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
r10k-2.0.2 lib/r10k/features.rb
r10k-2.0.1 lib/r10k/features.rb
r10k-2.0.0 lib/r10k/features.rb
r10k-1.5.1 lib/r10k/features.rb