Class: Afterlife::Deploy::Deployment
- Inherits:
-
Object
- Object
- Afterlife::Deploy::Deployment
show all
- Defined in:
- lib/afterlife/deploy/deployment.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(options) ⇒ Deployment
Returns a new instance of Deployment.
8
9
10
|
# File 'lib/afterlife/deploy/deployment.rb', line 8
def initialize(options)
@options = options
end
|
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
6
7
8
|
# File 'lib/afterlife/deploy/deployment.rb', line 6
def options
@options
end
|
Instance Method Details
#confirmation_message ⇒ Object
24
|
# File 'lib/afterlife/deploy/deployment.rb', line 24
def confirmation_message; end
|
#initial_message ⇒ Object
23
|
# File 'lib/afterlife/deploy/deployment.rb', line 23
def initial_message; end
|
#output ⇒ Object
22
|
# File 'lib/afterlife/deploy/deployment.rb', line 22
def output; end
|
#repo_command ⇒ Object
16
17
18
19
|
# File 'lib/afterlife/deploy/deployment.rb', line 16
def repo_command
result = Array(repo.conf.dig(:deploy, :command))
result unless result.empty?
end
|
#run ⇒ Object
12
13
14
|
# File 'lib/afterlife/deploy/deployment.rb', line 12
def run
fail NotImplementedError
end
|
#setup ⇒ Object
21
|
# File 'lib/afterlife/deploy/deployment.rb', line 21
def setup; end
|