Show => on whereami with methods
This commit is contained in:
parent
e4d1169afa
commit
e0a28bb5f8
|
@ -25,7 +25,7 @@ class Pry
|
||||||
file = @method.source_file
|
file = @method.source_file
|
||||||
start = @method.source_range.begin
|
start = @method.source_range.begin
|
||||||
finish = @method.source_range.end - 1
|
finish = @method.source_range.end - 1
|
||||||
marker = binding.eval("__LINE__")
|
marker = target.eval("__LINE__")
|
||||||
else
|
else
|
||||||
file = target.eval("__FILE__")
|
file = target.eval("__FILE__")
|
||||||
start = target.eval("__LINE__")
|
start = target.eval("__LINE__")
|
||||||
|
|
Loading…
Reference in New Issue