mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
last spec, green! (pry load order also is a PITA).
This commit is contained in:
parent
fea2e22c0d
commit
f3cde86a79
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class Pry
|
|||
end
|
||||
|
||||
def command_regex
|
||||
pr = defined?(Pry.config.command_prefix) ? Pry.config.command_prefix : ""
|
||||
pr = Pry.respond_to?(:config) ? Pry.config.command_prefix : ""
|
||||
prefix = convert_to_regex(pr)
|
||||
prefix = "(?:#{prefix})?" unless options[:use_prefix]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue