Class: DeepThought::Deployer::Deployer

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

Direct Known Subclasses

Shell

Instance Method Summary collapse

Constructor Details

#initializeDeployer

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

Returns:

  • (Boolean)


14
15
16
# File 'lib/deep_thought/deployer/deployer.rb', line 14

def execute?(deploy, config)
  true
end

#setup?(project, config) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/deep_thought/deployer/deployer.rb', line 10

def setup?(project, config)
  true
end