Class RR::Initializer
In: lib/rubyrep/initializer.rb
Parent: Object

The settings of the current deployment are passed to Rubyrep through the Initializer::run method. This method yields a Configuration object for overwriting of the default settings. Accordingly a configuration file should look something like this:

  Rubyrep::Initializer.run do |config|
    config.left = ...
  end

Methods

Public Class methods

Returns the current Configuration object

Allows direct overwriting of the Configuration

Sets a new Configuration object Current configuration values are lost and replaced with the default settings.

Yields the current Configuration object to enable overwriting of configuration values. Refer to the Initializer class documentation for a usage example.

[Validate]