Module R10K::Module
In: lib/r10k/module.rb

Methods

new   register  

Classes and Modules

Class R10K::Module::Base
Class R10K::Module::Forge
Class R10K::Module::Git
Class R10K::Module::MetadataFile
Class R10K::Module::SVN

Public Class methods

Look up the implementing class and instantiate an object

This method takes the arguments for normal object generation and checks all inheriting classes to see if they implement the behavior needed to create the requested object. It selects the first class that can implement an object with `name, args`, and generates an object of that class.

@param [String] name The unique name of the module @param [String] basedir The root to install the module in @param [Object] args An arbitary value or set of values that specifies the implementation

@return [Object < R10K::Module] A member of the implementing subclass

Register an module implementation for later generation

[Validate]