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

edit: Add example for --ex --patch combination

And make the two-column examples.
This commit is contained in:
Kyrylo Silin 2013-01-12 19:34:13 +02:00
parent 06bff9a897
commit 18e3877651

View file

@ -14,13 +14,10 @@ class Pry
Open a text editor. When no FILE is given, edits the pry input buffer. Ensure
`Pry.config.editor` is set to your editor of choice.
edit sample.rb
edit sample.rb --line 105
edit MyClass#my_method
edit --method
edit -p MyClass#my_method
edit YourClass
edit --ex`
edit sample.rb edit -p MyClass#my_method
edit sample.rb --line 105 edit YourClass
edit MyClass#my_method edit --ex
edit --method edit --ex -p
https://github.com/pry/pry/wiki/Editor-integration#wiki-Edit_command
BANNER