Permalink
Browse files

Update master

  • Loading branch information...
1 parent 95c9bc0 commit 33c706779b08428910593465e70b7d9c7aacde22 @banister banister committed Jun 8, 2012
Showing with 30 additions and 0 deletions.
  1. +30 −0 README.md
View
@@ -11,6 +11,36 @@ To use it in a project, add this to your Gemfile:
For more information on pry, read [this article](http://banisterfiend.wordpress.com/2011/01/27/turning-irb-on-its-head-with-pry/).
+Example
+-------
+
+```
+(rdb:1) help
+ruby-debug help v1.1.3
+Type 'help <command-name>' for help on a specific command
+
+Available commands:
+backtrace delete enable help list pry restart source undisplay
+break disable eval info method ps save step up
+catch display exit irb next putl set thread var
+condition down finish jump p quit show tmate where
+continue edit frame kill pp reload skip trace
+
+(rdb:1) pry
+
+Frame number: 0/11
+
+From: foo.rb @ line 14 :
+
+ 9: end
+ 10: end
+ 11:
+ 12: foo = Foo.new(5)
+ 13: debugger
+ => 14: foo.bar += 10
+
+[1] (pry) main: 0>
+```
Credits
-------

0 comments on commit 33c7067

Please sign in to comment.