Skip to content

Instantly share code, notes, and snippets.

@jccarbonfive
Created October 9, 2011 04:38
Show Gist options
  • Select an option

  • Save jccarbonfive/1273307 to your computer and use it in GitHub Desktop.

Select an option

Save jccarbonfive/1273307 to your computer and use it in GitHub Desktop.
$ git diff --cached
diff --git a/foo.rb b/foo.rb
index 33c40b2..f8879cf 100644
--- a/foo.rb
+++ b/foo.rb
@@ -1,10 +1,12 @@
class Foo
def bar
puts 'BAR'
+ $logger.log 'Foo#bar'
end
def baz
puts 'BAZ'
+ $logger.log 'Foo#baz'
end
private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment