Jordon Bedwell
|
42601c5ac4
|
Give Object.pry a better description, the other made no sense...
|
2012-04-01 06:02:04 -05:00 |
Jordon Bedwell
|
8462b4d6d9
|
Switch Object#pry to a 'like' pass-through with temporary backwards compatibility.
|
2012-04-01 05:52:50 -05:00 |
Jordon Bedwell
|
8f50bc3112
|
Extend Pry.start :quiet into Object#pry adds fixes: 502.
|
2012-04-01 03:51:55 -05:00 |
Mon ouïe
|
d24cbf49ce
|
Fixed Object#__binding__ constant lookup for modules by defining the method
directly on Object (fixes #93)
|
2011-04-30 09:08:01 +02: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
|
42fe31e19e
|
now clearing :val rather than :eval_string in commands so that current expression context is not destroyed when running pry command. Also added !pry command to enter a pry session
|
2010-12-31 04:01:11 +13:00 |
John Mair
|
51bfdb5373
|
removed ability of Object#pry to pass options parameters, as too confusing when invoked in this form: obj.pry(:input => Input.new) i.e opens pry session on {:input => .. } rather than redirects input for pry session
|
2010-12-26 03:25:35 +13:00 |
John Mair
|
6b3a6871fc
|
split Pry into 3 more files: pry_class (for class methods) pry_instance (instance methods) and core_extensions, for extensions to Object (e.g pry and __binding__ methods)
|
2010-12-26 02:59:37 +13:00 |