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:
parent
4a9c6f015b
commit
8721e71ff0
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Pry
|
||||||
end
|
end
|
||||||
|
|
||||||
def edit_temporarily
|
def edit_temporarily
|
||||||
source_code = Pry::Method(block).source
|
source_code = Pry::Method(@command.block).source
|
||||||
modified_code = nil
|
modified_code = nil
|
||||||
|
|
||||||
temp_file do |f|
|
temp_file do |f|
|
||||||
|
|
Loading…
Reference in a new issue