1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
Commit graph

9 commits

Author SHA1 Message Date
John Mair
878ca414d7 adding back a bunch of tests, almost finished. Also renamed default_prompt to prompt and prompt to get_prompt, etc 2011-01-08 01:25:24 +13:00
John Mair
12758922e8 other tests passing: commands 2011-01-06 11:07:06 +13:00
John Mair
329f49afa1 updating tests to reflect new program organization/design 2011-01-05 16:23:11 +13:00
John Mair
f11806d2da Save before major refactor to split up Pry into pry_class and pry_instance 2010-12-26 02:51:34 +13:00
John Mair
294d46c02a commands now separated and pluggable as a hash, defined in commands.rb 2010-12-26 01:05:48 +13:00
John Mair
00ec4c84d3 passing ALL tests now for 1.8 AND 1.9 2010-12-25 16:21:16 +13:00
John Mair
06aa0b9bbc passing all tests. created a __binding__ method to return a binding unpolluted by Pry context, no longer using instance_eval, thanks to Mon_Ouie's trick. Added test for multi-line, added nest for class nesting 2010-12-25 15:36:39 +13:00
John Mair
5ae3b69667 all tests passing, new functionality in form of: hash args to Pry.start() for :input and :output 2010-12-24 21:30:51 +13:00
John Mair
aa03df81ca * added tests (test.rb and test_helper.rb files)
* defined input/output accessors for Pry class to set global defaults for input and output (overridable by specific instances).
* Added reset_defaults method to set input/output and prompt lambdas back to defaults
* added output callback for 'cd' command
* changed eval_string += val to eval_string << val in Pry#r method, for performance reasons (no copy made with <<)
2010-12-24 01:16:04 +13:00