diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2019-01-13 15:24:15 +0800 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2019-01-13 15:28:27 +0800 |
commit | 2178dc2405d329791fbef03492b9430b16a4a17d (patch) | |
tree | e877c3e8425b8fecf5d6763aca9438f1ed06a6e5 /README.md | |
parent | 1d463198a9d3505584974c31812e0523144da30b (diff) | |
download | pry-2178dc2405d329791fbef03492b9430b16a4a17d.tar.gz |
Change formatting of "file.rb @ line 1" to "file.rb:1"
This is how Ruby formats line numbers. It's more concisce and still
understandable.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -216,7 +216,7 @@ instance methods beginning with 're' and display the source code for the `rep` m Pry#methods: re readline refresh rep repl repl_epilogue repl_prologue retrieve_line pry(Pry):1> show-method rep -l - From: /home/john/ruby/projects/pry/lib/pry/pry_instance.rb @ line 143: + From: /home/john/ruby/projects/pry/lib/pry/pry_instance.rb:143 Number of lines: 6 143: def rep(target=TOPLEVEL_BINDING) @@ -281,7 +281,7 @@ documentation for the `try_activate` method: pry(main)> cd Gem pry(Gem):1> show-doc try_activate - From: /Users/john/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb @ line 201: + From: /Users/john/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:201 Number of lines: 3 Try to activate a gem containing path. Returns true if |