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:
parent
06bff9a897
commit
18e3877651
1 changed files with 4 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue