Class: Dply::Strategy::Base
- Inherits:
-
Object
- Object
- Dply::Strategy::Base
show all
- Extended by:
- Forwardable
- Includes:
- Helper
- Defined in:
- lib/dply/strategy/base.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Helper
#cmd, #error, #git, #logger, #sh, #symlink
Constructor Details
#initialize(config, options) ⇒ Base
23
24
25
26
|
# File 'lib/dply/strategy/base.rb', line 23
def initialize(config, options)
@config = config
@options = options || {}
end
|
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
18
19
20
|
# File 'lib/dply/strategy/base.rb', line 18
def config
@config
end
|
#options ⇒ Object
Returns the value of attribute options.
18
19
20
|
# File 'lib/dply/strategy/base.rb', line 18
def options
@options
end
|
Instance Method Details
#deploy ⇒ Object
28
29
30
|
# File 'lib/dply/strategy/base.rb', line 28
def deploy
raise NotImplementedError
end
|
#reload ⇒ Object
32
33
34
|
# File 'lib/dply/strategy/base.rb', line 32
def reload
raise NotImplementedError
end
|
#reopen_logs ⇒ Object
40
41
|
# File 'lib/dply/strategy/base.rb', line 40
def reopen_logs
end
|
#stop ⇒ Object
36
37
38
|
# File 'lib/dply/strategy/base.rb', line 36
def stop
raise NotImplementedError
end
|