Class: MiniGit::Capturing
Constant Summary
Constants inherited from MiniGit
Instance Attribute Summary collapse
-
#process ⇒ Object
readonly
Returns the value of attribute process.
Attributes inherited from MiniGit
#git_command, #git_dir, #git_work_tree
Instance Method Summary collapse
Methods inherited from MiniGit
#find_git_dir, git, #git, #initialize, method_missing, #method_missing, #switches_for
Constructor Details
This class inherits a constructor from MiniGit
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MiniGit
Instance Attribute Details
#process ⇒ Object (readonly)
Returns the value of attribute process.
127 128 129 |
# File 'lib/minigit.rb', line 127 def process @process end |
Instance Method Details
#capturing ⇒ Object
133 134 135 |
# File 'lib/minigit.rb', line 133 def capturing self end |
#noncapturing ⇒ Object
137 138 139 140 141 |
# File 'lib/minigit.rb', line 137 def noncapturing @noncapturing ||= MiniGit.new(:git_command => @git_command, :git_dir => @git_dir, :git_work_tree => @git_work_tree) end |
#system(*args) ⇒ Object
129 130 131 |
# File 'lib/minigit.rb', line 129 def system(*args) `#{Shellwords.join(args)}` end |