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:
parent
fecdf2d2b2
commit
51bfdb5373
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue