mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
fa93b9f816
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. |
||
---|---|---|
.. | ||
code | ||
commands | ||
helpers | ||
method | ||
test | ||
cli.rb | ||
code.rb | ||
code_object.rb | ||
color_printer.rb | ||
command.rb | ||
command_set.rb | ||
commands.rb | ||
completion.rb | ||
config.rb | ||
core_extensions.rb | ||
custom_completions.rb | ||
editor.rb | ||
exceptions.rb | ||
helpers.rb | ||
history.rb | ||
history_array.rb | ||
hooks.rb | ||
indent.rb | ||
input_lock.rb | ||
method.rb | ||
module_candidate.rb | ||
pager.rb | ||
plugins.rb | ||
pry_class.rb | ||
pry_instance.rb | ||
rbx_path.rb | ||
repl.rb | ||
repl_file_loader.rb | ||
rubygem.rb | ||
terminal.rb | ||
version.rb | ||
wrapped_module.rb |