edit command now evals using the file_name, this enables show-method and friends to work on the methods defined in the file. wonderful
This commit is contained in:
parent
8082d41e93
commit
55e0b4f763
|
@ -154,7 +154,7 @@ class Pry
|
|||
end
|
||||
elsif should_reload
|
||||
silence_warnings do
|
||||
context.eval(File.read(file_name))
|
||||
context.eval(File.read(file_name), file_name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue