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

7 commits

Author SHA1 Message Date
Conrad Irwin
ad655b7384 Method::Patcher should preserve method visibility
(Works around https://github.com/rubinius/rubinius/issues/2248)
2013-03-30 17:42:46 -07:00
Conrad Irwin
28d0905eb6 Move cache reading into Pry::Code for consistency
This necessitates ensuring that the wrapping doesn't add any newlines
2013-03-28 01:05:55 -07:00
Conrad Irwin
29397efb37 Modify methods using Pry::Method#redefine
I considered calling redefine source=, but Pry::Method objects are not
designed to be mutable.
2013-03-28 01:02:13 -07:00
Conrad Irwin
da1283b000 s/code_object/method 2013-03-28 00:25:50 -07:00
Conrad Irwin
e43daac85c Allow Pry::Method::Patcher to work without _pry_ 2013-03-28 00:25:50 -07:00
Conrad Irwin
f2bdd33ef0 Rename Pry::Commands::Edit::MethodPatcher to Pry::Method::Patcher 2013-03-27 23:39:44 -07:00
Conrad Irwin
a7c85d7882 Move MethodPatcher to Method::Patcher 2013-03-27 23:12:56 -07:00
Renamed from lib/pry/commands/edit/method_patcher.rb (Browse further)