1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib/pry
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
..
code
commands delete '(default)' from pry/commands/ls.rb#options, because option'm' is not default 2013-12-12 23:32:09 +09:00
helpers
method
test
cli.rb lib/pry.rb,lib/pry/cli.rb: fix the "no-prompt" switch 2013-12-13 00:17:21 +02:00
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