Module: RidgepoleRake

Extended by:
RidgepoleRake
Included in:
RidgepoleRake
Defined in:
lib/ridgepole_rake.rb,
lib/ridgepole_rake/tasks.rb,
lib/ridgepole_rake/option.rb,
lib/ridgepole_rake/command.rb,
lib/ridgepole_rake/railtie.rb,
lib/ridgepole_rake/version.rb,
lib/ridgepole_rake/ext/rails.rb,
lib/ridgepole_rake/ext/bundler.rb,
lib/ridgepole_rake/ext/brancher.rb,
lib/ridgepole_rake/configuration.rb,
lib/ridgepole_rake/option_keys/v050.rb,
lib/ridgepole_rake/option_keys/v051.rb,
lib/ridgepole_rake/option_keys/v052.rb,
lib/ridgepole_rake/option_keys/v060.rb,
lib/ridgepole_rake/option_keys/v061.rb,
lib/ridgepole_rake/option_keys/v062.rb,
lib/ridgepole_rake/option_keys/v063.rb,
lib/ridgepole_rake/option_keys/v064.rb,
lib/ridgepole_rake/option_keys/v065.rb

Defined Under Namespace

Modules: Brancher, Bundler, Option, OptionKeys, Rails Classes: Command, Configuration, Railtie, Tasks, UndefinedActionError

Constant Summary collapse

VERSION =
"0.4.0"

Instance Method Summary collapse

Instance Method Details

#configObject



41
42
43
# File 'lib/ridgepole_rake.rb', line 41

def config
  @config ||= Configuration.new
end

#configure {|config| ... } ⇒ Object

Yields:



37
38
39
# File 'lib/ridgepole_rake.rb', line 37

def configure
  yield config
end

#resetObject



45
46
47
48
# File 'lib/ridgepole_rake.rb', line 45

def reset
  @config = nil
  config
end