Class: ErpDevSvcs::Commands::Git

Inherits:
Object
  • Object
show all
Defined in:
lib/erp_dev_svcs/commands/git.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGit

Returns a new instance of Git.



11
12
13
14
15
16
# File 'lib/erp_dev_svcs/commands/git.rb', line 11

def initialize
  ErpDevSvcs::Commands::Helper.exec_in_dirs do
    git_result = %x[git #{ARGV[0]}]
    puts git_result
  end
end

Class Method Details

.executeObject



7
8
9
# File 'lib/erp_dev_svcs/commands/git.rb', line 7

def self.execute
  new()
end