mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
503e6bb63f
* --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 ? |
||
---|---|---|
.. | ||
amend_line_spec.rb | ||
bang_spec.rb | ||
cat_spec.rb | ||
cd_spec.rb | ||
disable_pry_spec.rb | ||
edit_spec.rb | ||
exit_all_spec.rb | ||
exit_program_spec.rb | ||
exit_spec.rb | ||
find_method_spec.rb | ||
gem_list_spec.rb | ||
gist_spec.rb | ||
help_spec.rb | ||
hist_spec.rb | ||
jump_to_spec.rb | ||
ls_spec.rb | ||
play_spec.rb | ||
raise_up_spec.rb | ||
save_file_spec.rb | ||
show_doc_spec.rb | ||
show_input_spec.rb | ||
show_source_spec.rb | ||
whereami_spec.rb |