Module: RidgepoleRake::Brancher::Configuration

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.prepended(klass) ⇒ Object



6
7
8
# File 'lib/ridgepole_rake/ext/brancher.rb', line 6

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

Instance Method Details

#brancher=(hash) ⇒ Object



16
17
18
# File 'lib/ridgepole_rake/ext/brancher.rb', line 16

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

#initializeObject

Note:

override



11
12
13
14
# File 'lib/ridgepole_rake/ext/brancher.rb', line 11

def initialize
  super
  @brancher = { use: true }.with_indifferent_access
end