summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xAB <0xAB@protonmail.com>2017-08-28 05:55:44 +0100
committer0xAB <0xAB@protonmail.com>2017-08-28 05:55:44 +0100
commitd0fcbca538e6f4750c431a379c48084806bc026a (patch)
tree10f3aaaa1e04a612391b9a585b7d7934184c9e06
parent06f7959d25f5fb1e34bf92efccdb5550d05e7c6f (diff)
downloadpry-d0fcbca538e6f4750c431a379c48084806bc026a.tar.gz
fix selected_prompt?
-rw-r--r--lib/pry/commands/list_prompts.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/commands/list_prompts.rb b/lib/pry/commands/list_prompts.rb
index 169c58b9..ab781bd8 100644
--- a/lib/pry/commands/list_prompts.rb
+++ b/lib/pry/commands/list_prompts.rb
@@ -29,7 +29,7 @@ class Pry::Command::ListPrompts < Pry::ClassCommand
end
def selected_prompt?(prompt)
- _pry_.prompt == prompt.proc_array
+ _pry_.prompt == prompt
end
Pry::Commands.add_command(self)
end