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

This commit is contained in:
John Mair 2010-12-26 03:25:35 +13:00
parent fecdf2d2b2
commit 51bfdb5373
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
class Pry
module ObjectExtensions
def pry(target=self, options={})
Pry.start(target, options)
def pry(target=self)
Pry.start(target)
end
def __binding__