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

20 commits

Author SHA1 Message Date
Mon ouïe
dd98daa8fc Fixed typo in a comment 2012-07-22 23:48:04 +02:00
Mon ouïe
64ec051563 Fixed typo of the BindingImplMethod constant in documentation 2012-07-22 23:47:31 +02:00
Kyrylo Silin
e805a64a93 Fix typo in YARD return tag
`@retun` -> `@return`

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-07-23 00:39:47 +03:00
Mon ouïe
083b06aba2 Prevented local variables from being leaked into bindings used by Pry (fixes #662) 2012-07-22 23:30:40 +02:00
John Mair
cfc5890d1c version 0.9.10 release 2012-07-15 00:00:50 +12:00
Ryan Fitzgerald
44466b8bda Fix warnings 2012-07-01 23:10:50 -07:00
Conrad Irwin
ac68f843a3 Fix show-source and show-doc on __binding__/__binding_impl__ 2012-06-10 23:42:14 -07:00
Conrad Irwin
1e97ef4964 Write Object#pry and docs.
Silences some YARD warnings.
2012-06-07 00:09:48 -07:00
Conrad Irwin
e7be7a01d8 Positivise docs for consumption 2012-06-06 23:48:22 -07:00
Conrad Irwin
93ab84ec3d Add some explanation to __binding__
This is mainly for my own sanity, but I figure it might be interesting
to some particularly twisted people.
2012-06-06 20:57:38 -07:00
Kyrylo Silin
c8fc0e52a3 Refactor __binding__ method
Refactor Object#__binding__ method in order to avoid repetitive code of
__binding_impl__. Use String variable for the __binding_impl__ method
definition to guarantee that class_eval and instance_eval evaluate the
same code.

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-06-07 02:20:51 +03:00
Conrad Irwin
6967224ccb MonkeyPatch jruby's Array#pretty_inspect [Fixes #568] 2012-05-26 00:39:35 -07:00
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