Class: JimboDragon::Deploy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDeploy

Returns a new instance of Deploy.



5
6
7
# File 'lib/jimbodragon/deploy.rb', line 5

def initialize
  @deploy_commands = []
end

Instance Attribute Details

#deploy_commandsObject

Returns the value of attribute deploy_commands.



3
4
5
# File 'lib/jimbodragon/deploy.rb', line 3

def deploy_commands
  @deploy_commands
end

Instance Method Details

#execute_deploy_commandObject



9
10
11
# File 'lib/jimbodragon/deploy.rb', line 9

def execute_deploy_command
  deploy_commands.each { |command| system command }
end