1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/spec
Kyrylo Silin 6ca5f60207 Allow customisation of the prompt objects
Fix issue #885 (Add an API for extending Pry.view_clip)

    [1] pry(main)> class Barbie
                 |   def inspect
                 |     'You can brush my hair, undress me everywhere!'
                 |   end
                 | end
    => nil
    [2] pry(main)>
    [3] pry(main)> Pry.config.prompt_safe_objects << Barbie
    => [String, Numeric, Symbol, nil, true, false, Barbie]
    [4] pry(main)> cd Barbie.new
    [5] pry(You can brush my hair, undress me everywhere!):1>
2013-05-04 11:21:16 +03:00
..
commands CodeObject: special case super keyword 2013-05-04 00:33:38 +03:00
fixtures Command::Hist: change the behaviour 2013-03-17 10:43:06 +02:00
helpers Helpers::tablify: fix FloatDomainError 2013-01-27 06:12:35 +02:00
method Method::Patcher should preserve method visibility 2013-03-30 17:42:46 -07:00
cli_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
code_object_spec.rb Pry::CodeObject: remove unnecessary 'target' parameter 2013-01-11 20:47:46 +01:00
code_spec.rb PryTestHelpers methods are now module_functions, included into Bacon::Context by default 2012-12-07 23:08:49 +01:00
command_helpers_spec.rb Fix documentation rendering edge-cases [Fixes #795] 2013-02-01 01:30:07 -08:00
command_integration_spec.rb Rename accept_line to eval 2012-12-27 22:06:50 -08:00
command_set_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_spec.rb Update relevant tests in "command_spec.rb" 2013-01-14 20:15:01 +02:00
completion_spec.rb Merge branch 'wip.refactor' 2013-01-18 00:19:38 -08:00
control_d_handler_spec.rb Fix Ctrl-D in nested pry's 2012-12-28 10:00:33 -08:00
documentation_helper_spec.rb Fix documentation rendering edge-cases [Fixes #795] 2013-02-01 01:30:07 -08:00
editor_spec.rb Fix errors in "edit_spec.rb" and "editor_spec.rb" 2013-01-14 18:43:19 +02:00
exception_whitelist_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
helper.rb Add SimpleCov 2013-04-27 23:30:37 -07:00
history_array_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
history_spec.rb HistorySpec: add more tests 2013-03-18 11:20:16 +02:00
hooks_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
indent_spec.rb Indent 'while/until do' loops correctly [Fixes #787] 2012-12-28 07:37:55 -08:00
method_spec.rb Refactor Pry::Method + add Pry::Method::WeirdMethodLocator 2013-02-02 22:37:25 +01:00
Procfile Reword foreman instructions without 'cd' 2013-02-08 00:29:02 -06:00
prompt_spec.rb Manage binding_stack in r() too! 2012-12-15 15:03:03 -08:00
pry_defaults_spec.rb Allow customisation of the prompt objects 2013-05-04 11:21:16 +03:00
pry_output_spec.rb Merge branch 'wip.refactor' 2013-01-18 00:19:38 -08:00
pry_repl_spec.rb Add tests for exception rescuing in REPL. 2013-03-26 21:23:13 +08:00
pry_spec.rb Allow frozen_object.pry 2013-04-25 01:09:06 -07:00
pryrc_spec.rb Comment out spec when it's broken 2013-02-17 23:32:17 -08:00
run_command_spec.rb Fix failing specs on ree/ruby18 2013-01-18 01:03:01 +01:00
sticky_locals_spec.rb Add Pry::Driver to handle the reading and looping 2012-12-20 01:34:32 -08:00
syntax_checking_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
wrapped_module_spec.rb Fix all ruby version not mentioned in previous two commits 2013-04-07 21:18:59 -07:00