mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Edit::MethodPatcher: remove unnecessary assignment
This commit is contained in:
parent
2fd0e1b155
commit
e53af39a93
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class Pry
|
|||
# @return [String]
|
||||
def wrap_for_owner(source)
|
||||
Pry.current[:pry_owner] = code_object.owner
|
||||
source = "Pry.current[:pry_owner].class_eval do\n#{source}\nend"
|
||||
"Pry.current[:pry_owner].class_eval do\n#{source}\nend"
|
||||
end
|
||||
|
||||
# Update the new source code to have the correct Module.nesting.
|
||||
|
|
Loading…
Reference in a new issue