Class: DeepThought::Deployer::Deployer
- Inherits:
-
Object
- Object
- DeepThought::Deployer::Deployer
- Defined in:
- lib/deep_thought/deployer/deployer.rb
Direct Known Subclasses
Instance Method Summary collapse
- #execute?(deploy, config) ⇒ Boolean
-
#initialize ⇒ Deployer
constructor
A new instance of Deployer.
- #setup?(project, config) ⇒ Boolean
Constructor Details
#initialize ⇒ Deployer
Returns a new instance of Deployer.
4 5 6 7 8 |
# File 'lib/deep_thought/deployer/deployer.rb', line 4 def initialize if self.class.name == 'DeepThought::Deployer::Deployer' raise "#{self.class.name} is abstract, you cannot instantiate it directly." end end |
Instance Method Details
#execute?(deploy, config) ⇒ Boolean
14 15 16 |
# File 'lib/deep_thought/deployer/deployer.rb', line 14 def execute?(deploy, config) true end |
#setup?(project, config) ⇒ Boolean
10 11 12 |
# File 'lib/deep_thought/deployer/deployer.rb', line 10 def setup?(project, config) true end |