Module: RidgepoleRake::Bundler::Configuration

Included in:
Configuration
Defined in:
lib/ridgepole_rake/ext/bundler.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.prepended(klass) ⇒ Object



4
5
6
# File 'lib/ridgepole_rake/ext/bundler.rb', line 4

def self.prepended(klass)
  klass.class_eval { attr_reader :bundler }
end

Instance Method Details

#bundler=(hash) ⇒ Object



14
15
16
# File 'lib/ridgepole_rake/ext/bundler.rb', line 14

def bundler=(hash)
  @bundler = hash.with_indifferent_access
end

#initializeObject

Note:

override



9
10
11
12
# File 'lib/ridgepole_rake/ext/bundler.rb', line 9

def initialize
  super
  @bundler = { use: true, clean_system: true, with_clean_env: nil }.with_indifferent_access
end