summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2019-01-13 15:24:15 +0800
committerKyrylo Silin <silin@kyrylo.org>2019-01-13 15:28:27 +0800
commit2178dc2405d329791fbef03492b9430b16a4a17d (patch)
treee877c3e8425b8fecf5d6763aca9438f1ed06a6e5 /README.md
parent1d463198a9d3505584974c31812e0523144da30b (diff)
downloadpry-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index a4c231e3..88af86c6 100644
--- a/README.md
+++ b/README.md
@@ -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