mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
remove instance_eval of Pry#custom_completions Proc.
This commit is contained in:
parent
52f7260090
commit
92ec948029
1 changed files with 3 additions and 3 deletions
|
@ -113,9 +113,9 @@ class Pry
|
|||
# @return [Array<String>] Possible completions
|
||||
def complete(input)
|
||||
Pry.critical_section do
|
||||
Pry.config.completer.call(input, :target => current_binding,
|
||||
:pry => self,
|
||||
:custom_completions => instance_eval(&custom_completions))
|
||||
config.completer.call input, :target => current_binding,
|
||||
:pry => self,
|
||||
:custom_completions => custom_completions
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue