Class: BlueGreenProcess::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/blue_green_process/config.rb

Instance Method Summary collapse

Instance Method Details

#after_forkObject



9
10
11
# File 'lib/blue_green_process/config.rb', line 9

def after_fork
  @after_fork_block || -> {}
end

#after_fork=(block) ⇒ Object



5
6
7
# File 'lib/blue_green_process/config.rb', line 5

def after_fork=(block)
  @after_fork_block = block
end

#resetObject



13
14
15
# File 'lib/blue_green_process/config.rb', line 13

def reset
  @after_fork_block = nil
end