1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/spec
John Mair 503e6bb63f edit command: add --method option
* --method doesn't accept any parameters, it only edits the 'current' method associated
with the binding. It's equivalent to 'edit-method' (with no args).
* This option is necessary as 'edit' by itself edits the last expression.
* Note that --method doesn't just edit the current method, if no method exists (i.e binding.pry was not put
inside a method context) then it edits the current OBJECT instead.

TODO:
* explicitly restrict --method to *just* methods and not allow it to fall back to objects?
* allow --method to take a parameter that must be a method object? e.g --method Pry#repl works
but --method Pry would fail ?
2013-01-11 20:47:46 +01:00
..
commands edit command: add --method option 2013-01-11 20:47:46 +01:00
fixtures Move all fixtures into fixtures/ 2012-12-09 11:42:41 -08:00
helpers Extract Table to its own file 2013-01-09 17:18:44 -06: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 Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_integration_spec.rb Work around rbx bug by not trying to ls a fixnum 2012-12-27 14:41:25 -08:00
command_set_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_spec.rb Assign default value to :listing option 2013-01-04 04:56:54 +02:00
completion_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
control_d_handler_spec.rb Fix ^D press in nested REPLs 2012-12-15 03:23:24 +02:00
exception_whitelist_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
helper.rb Move all fixtures into fixtures/ 2012-12-09 11:42:41 -08:00
history_array_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06: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
input_stack_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
method_spec.rb Pry::Method.from_str() can no longer raise an exception 2012-12-22 22:59:03 +01:00
prompt_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
pry_defaults_spec.rb cleaned up lib/pry/test/helper.rb 2012-12-07 21:41:05 +01:00
pry_history_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
pry_output_spec.rb move Pad to local helpers, and move more methods in PryTestHelpers 2012-12-09 00:01:18 +01:00
pry_spec.rb Make pryrc load errors more useful. 2013-01-01 03:40:36 -06:00
sticky_locals_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
syntax_checking_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
wrapped_module_spec.rb alliteration 2012-12-27 23:20:41 +01:00