Class R10K::Feature
In: lib/r10k/feature.rb
Parent: Object

Detect whether a given feature is present or absent

Methods

available?   new  

Classes and Modules

Class R10K::Feature::Collection

Attributes

name  [R]  @attribute [r] name
  @return [Symbol] The name of this feature

Public Class methods

@param name [Symbol] The name of this feature @param opts [Hash] @param block [Proc] An optional block to detect if this feature is available

@option opts [String, Array<String>] :libraries One or more libraries to

  require to make sure this feature is present.

Public Instance methods

@return [true, false] Is this feature available?

[Validate]