mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
replaced implementation tests in edit-method with path_line_for
This commit is contained in:
parent
166e6e8f0b
commit
ffb9670b7f
1 changed files with 1 additions and 6 deletions
|
@ -136,12 +136,7 @@ class Pry
|
|||
|
||||
# editor is invoked here
|
||||
else
|
||||
if rbx_core?(meth)
|
||||
file, line = rbx_core_path_line_for(meth)
|
||||
else
|
||||
file, line = meth.source_location
|
||||
end
|
||||
|
||||
file, line = path_line_for(meth)
|
||||
set_file_and_dir_locals(file)
|
||||
|
||||
if Pry.editor.respond_to?(:call)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue