Class: RUGS::Git
- Inherits:
-
Object
- Object
- RUGS::Git
- Defined in:
- lib/rugs/git.rb
Overview
a very dumb wrapper for git
Class Method Summary collapse
Class Method Details
.method_missing(meth, args) ⇒ Object
8 9 10 11 12 |
# File 'lib/rugs/git.rb', line 8 def self.method_missing(meth, args) out, status = Open3.capture2e("git", meth.to_s, args) raise Object::Exception(out) if status.exitstatus != 0 out end |