summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0xAB <0xAB@protonmail.com>2017-08-28 01:33:14 +0100
committer0xAB <0xAB@protonmail.com>2017-08-28 01:33:56 +0100
commit0a73904b4859e548f2e40a29beea1d1cb2f2458b (patch)
tree2ac6b53ac83da1f4270d7eb6dbcf25cd104a518a
parent870c61489b87803e0b7b01ee148c439c66f82c33 (diff)
downloadpry-0a73904b4859e548f2e40a29beea1d1cb2f2458b.tar.gz
using Pry.configure in Pry::Prompt[] example.
[ci skip]
-rw-r--r--lib/pry/prompt.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pry/prompt.rb b/lib/pry/prompt.rb
index dfb533de..f68024cd 100644
--- a/lib/pry/prompt.rb
+++ b/lib/pry/prompt.rb
@@ -62,7 +62,9 @@ module Pry::Prompt
# @example
#
# # .pryrc
- # Pry.config.prompt = Pry::Prompt['simple'].proc_array
+ # Pry.configure do |config|
+ # config.prompt = Pry::Prompt['simple'].proc_array
+ # end
#
# @return [PromptInfo]
# Returns a prompt in the form of a PromptInfo object.