From 1e655ed1d7dad166fdacb6e4e630e2b0ad57b1a1 Mon Sep 17 00:00:00 2001 From: John Mair Date: Thu, 5 May 2011 01:44:54 +1200 Subject: [PATCH] _file_ and _dir_ locals now set for edit-method --- lib/pry/default_commands/introspection.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pry/default_commands/introspection.rb b/lib/pry/default_commands/introspection.rb index 23328b56..b2a945d1 100644 --- a/lib/pry/default_commands/introspection.rb +++ b/lib/pry/default_commands/introspection.rb @@ -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)