1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib
Kyrylo Silin fa93b9f816 lib/pry.rb,lib/pry/cli.rb: fix the "no-prompt" switch
This sets two prompts for Pry. The issue is that if you have a custom
prompt (like me), then you'll face this error:

  undefined method `[]=' for #<Proc:0x00000002f329e0>

The problem is that the no-prompt switch doesn't set the second prompt.
Also, be consistent with the codebase and store the prompt in a
constant.
2013-12-13 00:17:21 +02:00
..
pry lib/pry.rb,lib/pry/cli.rb: fix the "no-prompt" switch 2013-12-13 00:17:21 +02:00
pry.rb lib/pry.rb,lib/pry/cli.rb: fix the "no-prompt" switch 2013-12-13 00:17:21 +02:00