1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Always show @line in whereami [Fixes #754]

This commit is contained in:
Conrad Irwin 2012-11-20 13:44:50 -08:00
parent 5a240b2d0c
commit deb8a28cd4

View file

@ -39,7 +39,7 @@ class Pry
end
def location
"#{@file} @ line #{show_method? ? @method.source_line : @line} #{@method && @method.name_with_owner}"
"#{@file} @ line #{@line} #{@method && @method.name_with_owner}"
end
def process