1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib
John Mair f1654d8603 Allow 'edit self' and 'reload-code self'
This didn't work due to a quirk in Pry::CodeObject.lookup() which purposely ignores 'expressions'
as they can be methods, which are dangerous to lookup. We now make an exception when the expression is 'self'

This code needs to be refactored as we have ridiculosu method names like  `def variable_or_constant_or_self?`
and we have methods like this in a couple of places. Refactor pls.
2013-01-05 21:17:07 +01:00
..
pry Allow 'edit self' and 'reload-code self' 2013-01-05 21:17:07 +01:00
pry.rb Extracted out editor-related code to Pry::Editor 2012-12-29 23:38:20 +01:00