pry/pry — Issue #390: Pry suicides with ARGF or STDIN
Author: envygeeks
Created: 2011-12-26 18:30:05+00:00
State: open

jordon@envygeeks:~/dev/clippy.envygeeks.com$ echo 'hello' |clippy --copy

From: /home/jordon/opt/ruby1.9.3/lib/ruby/gems/1.9.1/gems/clippy-0.1/bin/clippy @ line 17 in Object#N/A:

12: opts.on('--paste', 'Paste') { do_return = Clippy.paste }
13: opts.on('--help', 'This') { do_return = opts }
14: opts.on('--clear', 'Clear') { did_cmd = Clippy.clear }
15:
16: opts.on('--copy', 'Copy') do
=> 17: Pry.start(binding)

[1] pry(main)> hello
NameError: undefined local variable or method `hello' for main:Object
from (pry):1:in `block (2 levels) in '