diff options
author | 0xAB <0xAB@protonmail.com> | 2017-08-28 01:33:14 +0100 |
---|---|---|
committer | 0xAB <0xAB@protonmail.com> | 2017-08-28 01:33:56 +0100 |
commit | 0a73904b4859e548f2e40a29beea1d1cb2f2458b (patch) | |
tree | 2ac6b53ac83da1f4270d7eb6dbcf25cd104a518a | |
parent | 870c61489b87803e0b7b01ee148c439c66f82c33 (diff) | |
download | pry-0a73904b4859e548f2e40a29beea1d1cb2f2458b.tar.gz |
using Pry.configure in Pry::Prompt[] example.
[ci skip]
-rw-r--r-- | lib/pry/prompt.rb | 4 |
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. |