Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add support for
play 69
syntax
`play 69` is a shortcut for `play --file #{_file_} --lines 69`. It plays lines from the current file. Example (I omitted some useless information): pry(main)> show-source hello def hello binding.pry true puts "hi" 69 end pry(main)> hello 1: def hello => 2: binding.pry 3: true 4: puts "hi" 5: 69 6: end pry(main)> play 5 => 69 pry(main)> play 3..4 hi => nil pry(main)> Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
- Loading branch information
Showing
2 changed files
with
87 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters