Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save jccarbonfive/1273292 to your computer and use it in GitHub Desktop.
$ git diff
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment