Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Try to fix failing whereami test on 1.8 etc

Explicitly calling to_s before appending wth + "\n"
  • Loading branch information...
commit 2d8fcb06a4cc5a5fbc693f1b5ca3f3c614dbbde2 1 parent e1c1720
@banister banister authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/pry/commands/whereami.rb
View
2  lib/pry/commands/whereami.rb
@@ -89,7 +89,7 @@ def process
set_file_and_dir_locals(@file)
out = "\n#{text.bold('From:')} #{location}:\n\n" +
- code.with_line_numbers(use_line_numbers?).with_marker(marker) + "\n"
+ code.with_line_numbers(use_line_numbers?).with_marker(marker).to_s + "\n"
stagger_output(out)
end
Please sign in to comment.
Something went wrong with that request. Please try again.