Class: GitHub::GitCommand
Instance Method Summary collapse
- #command(*args) ⇒ Object
-
#initialize(name) ⇒ GitCommand
constructor
A new instance of GitCommand.
Methods inherited from Command
#call, #die, #git, #git_exec, #helper, #options, #pgit, #sh
Constructor Details
#initialize(name) ⇒ GitCommand
Returns a new instance of GitCommand.
91 92 93 |
# File 'lib/github/command.rb', line 91 def initialize(name) @name = name end |
Instance Method Details
#command(*args) ⇒ Object
95 96 97 |
# File 'lib/github/command.rb', line 95 def command(*args) git_exec *[ @name, args ] end |