1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Fix typo in README.markdown

This commit is contained in:
yui-knk 2014-01-15 23:09:08 +09:00
parent 34b25ef03d
commit 4464286aad

View file

@ -102,9 +102,9 @@ an instance variable inside that class:
pry(Hello):1> ls -i
instance variables: @x
pry(Hello):1> cd @x
pry(20:2)> self + 10
pry(20):2> self + 10
=> 30
pry(20:2)> cd ..
pry(20):2> cd ..
pry(Hello):1> cd ..
pry(main)> cd ..
@ -112,7 +112,7 @@ The number after the `:` in the pry prompt indicates the nesting
level. To display more information about nesting, use the `nesting`
command. E.g
pry("friend":3)> nesting
pry("friend"):3> nesting
Nesting status:
0. main (Pry top level)
1. Hello
@ -123,7 +123,7 @@ command. E.g
We can then jump back to any of the previous nesting levels by using
the `jump-to` command:
pry("friend":3)> jump-to 1
pry("friend"):3> jump-to 1
=> 100
pry(Hello):1>
@ -224,7 +224,7 @@ In the following example we will enter the `Pry` class, list the
instance methods beginning with 're' and display the source code for the `rep` method:
pry(main)> cd Pry
pry(Pry)> ls -M --grep re
pry(Pry):1> ls -M --grep re
Pry#methods: re readline refresh rep repl repl_epilogue repl_prologue retrieve_line
pry(Pry):1> show-method rep -l