Module: RC

Extended by:
Interface
Defined in:
lib/rc.rb,
lib/rc/dsl.rb,
lib/rc/setup.rb,
lib/rc/config.rb,
lib/rc/required.rb,
lib/rc/constants.rb,
lib/rc/interface.rb,
lib/rc/properties.rb,
lib/rc/config_filter.rb,
lib/rc/configuration.rb

Overview

Runtime Configuration for Ruby.

Defined Under Namespace

Modules: Interface Classes: Config, ConfigFilter, Configuration, DSL, Properties, Setup

Constant Summary collapse

ROOT_INDICATORS =

Looking for a config file relative to root of a project, these are the files considered to indicate the root directory.

%w{.git .hg _darcs .index .rc .ruby}

Constants included from Interface

Interface::TWEAKS_DIR

Class Method Summary collapse

Methods included from Interface

autoconfig?, autoconfigure, bootstrap, bootstrap_require, cache, clear!, configuration, configure, configure_tool, current_profile, current_profile=, current_tool, current_tool=, define_config, profile_names, profile_switch, properties, switch, tweak, undefine_config

Class Method Details

.required(feature) ⇒ Object

We create a noop method b/c it simplifes implementation. When a file is required this method gets called.



7
8
# File 'lib/rc/required.rb', line 7

def self.required(path)
end