Class: Deploy::Runner

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

Instance Method Summary collapse

Constructor Details

#initialize(tag) ⇒ Runner

Returns a new instance of Runner.



17
18
19
# File 'lib/deploy.rb', line 17

def initialize(tag)
  @tag = tag
end

Instance Method Details

#runObject



21
22
23
24
25
26
# File 'lib/deploy.rb', line 21

def run
  trap_int
  precheck!
  validate!
  perform!
end