Created
October 9, 2011 04:33
-
-
Save jccarbonfive/1273299 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git add -p | |
| diff --git a/foo.rb b/foo.rb | |
| index 33c40b2..91801c6 100644 | |
| --- a/foo.rb | |
| +++ b/foo.rb | |
| @@ -1,18 +1,16 @@ | |
| class Foo | |
| def bar | |
| puts 'BAR' | |
| + $logger.log 'Foo#bar' | |
| end | |
| def baz | |
| puts 'BAZ' | |
| + $logger.log 'Foo#baz' | |
| end | |
| private | |
| - def qux | |
| - puts 'qux' | |
| - end | |
| - | |
| def quux | |
| puts 'quux' | |
| end | |
| Stage this hunk [y,n,q,a,d,/,s,e,?]? e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment