Method: Commands#initialize
- Defined in:
- lib/commands.rb
#initialize ⇒ Commands
Returns a new instance of Commands.
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/commands.rb', line 16 def initialize self[:pull] = Pull.new if(Environment.scm=='git' && Environment.scm_origin.length > 0) self[:upgrade] = Upgrade.new self[:setup] = Setup.new self[:build] = Build.new self[:test] = Test.new self[:add] = Add.new self[:commit] = Commit.new self[:push] = Push.new self[:verify] = Verify.new self[:publish] = Publish.new end |