Commit Graph

8 Commits

Author SHA1 Message Date
John Mair 8682e269eb Version 0.4.2
* Added alias_command and desc commands to Pry::CommandBase
* Added pry and version tasks to Rakefile to start a pry session and show current version
* Added tests for alias_command and desc commands
* made it so ls_methods and ls_imethods return sort arrays
* made it so show_method without a paramater displays current method, if exists, who displays error if not
2011-01-27 07:05:40 +13:00
John Mair 228b95f516 added new 'alias_command' and 'desc' commands to CommandBase; also made it so show_method comamnd without parameters does a show_method on __method__ 2011-01-26 23:13:46 +13:00
John Mair 2ca16a0657 Version 0.4.1
* Made is to 'def meth;end' in an object (not a class) defines singleton methods, not methods on the class.
* Reorganized and reworded some documentation, adding info on rubygems-test
* added rubygems-test support
* added more tests to reflect new method definition behaviour
2011-01-24 13:39:15 +13:00
John Mair 6aacc8721d Made it so defining methods on a pry'd on object puts the methods on the singleton class of the object rather than on the class. Added rubygems-test support.
Alternatively, if the object cannot support singleton methods, e.g immediates and Numerics, the method will go on the class instead.
2011-01-24 03:50:15 +13:00
John Mair d2009e6de1 version bump 0.3.0, added method_doc and friends, added cat, updated README, adjusted Rakefile to use 0.2.0 method_source gem 2010-12-19 01:10:23 +13:00
John Mair c6ee635460 Ripper for 1.9, RubyParser for 1.8. Fixed 1.8 inspect difficulties, added help for new commands, using method_source gem, updated README 2010-12-17 18:10:47 +13:00
John Mair 890ca85030 rescuing SyntaxError as well in valid_expression? 2010-12-09 02:49:28 +13:00
John Mair 2dc06b23c8 adding READMEs and CHANGELOG etc 2010-12-08 20:30:38 +13:00