Skip to content

Instantly share code, notes, and snippets.

@jccarbonfive
Created October 9, 2011 03:37
Show Gist options
  • Select an option

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

Select an option

Save jccarbonfive/1273240 to your computer and use it in GitHub Desktop.
$ git diff
diff --git a/foo.rb b/foo.rb
index 5a90c2b..c1590ba 100644
--- a/foo.rb
+++ b/foo.rb
@@ -3,9 +3,17 @@ class Foo
puts 'bar'
end
+ def baz
+ puts 'baz'
+ end
+
private
def qux
puts 'qux'
end
+
+ def quux
+ puts 'quux'
+ end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment