mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
_file_ and _dir_ locals now set for edit-method
This commit is contained in:
parent
5c964f0ed6
commit
1e655ed1d7
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ e.g: edit-method hello_method
|
|||
# editor is invoked here
|
||||
else
|
||||
file, line = meth.source_location
|
||||
set_file_and_dir_locals(file)
|
||||
|
||||
if Pry.editor.respond_to?(:call)
|
||||
editor_invocation = Pry.editor.call(file, line)
|
||||
|
|
Loading…
Reference in a new issue