1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Make '@command' the receiver.

This commit is contained in:
Rob Gleeson 2012-01-10 04:12:01 +00:00
parent 4a9c6f015b
commit 8721e71ff0

View file

@ -94,7 +94,7 @@ class Pry
end
def edit_temporarily
source_code = Pry::Method(block).source
source_code = Pry::Method(@command.block).source
modified_code = nil
temp_file do |f|