1
0
Fork 0
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:
John Mair 2011-05-05 01:44:54 +12:00
parent 5c964f0ed6
commit 1e655ed1d7

View file

@ -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)