pete / live-console

LiveConsole, a Ruby gem for providing IRB over things other than stdio.
http://debu.gs/live-console
29 stars 4 forks source link

irb's trick each other #3

Open rdp opened 15 years ago

rdp commented 15 years ago

if you run irb + live console in one windows, then do

raise

I get this:

/home/rdp/.gem/ruby/1.8/gems/live_console-0.2.2.3/lib/live_console.rb:160:in output': private methodgsub' called for RuntimeError:Class (NoMethodError) from /home/rdp/.gem/ruby/1.8/gems/live_console-0.2.2.3/lib/live_console.rb:160:in each' from /home/rdp/.gem/ruby/1.8/gems/live_console-0.2.2.3/lib/live_console.rb:160:inoutput' from /home/rdp/.gem/ruby/1.8/gems/live_console-0.2.2.3/lib/live_console.rb:172:in print' from /usr/local/lib/ruby/1.8/irb.rb:159:ineval_input' from /usr/local/lib/ruby/1.8/irb.rb:263:in signal_status' from /usr/local/lib/ruby/1.8/irb.rb:147:ineval_input' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:244:in each_top_level_statement' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:230:inloop' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:230:in each_top_level_statement' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:229:incatch' from /usr/local/lib/ruby/1.8/irb/ruby-lex.rb:229:in each_top_level_statement' from /usr/local/lib/ruby/1.8/irb.rb:146:ineval_input' from /usr/local/lib/ruby/1.8/irb.rb:70:in start' from /usr/local/lib/ruby/1.8/irb.rb:69:incatch' from /usr/local/lib/ruby/1.8/irb.rb:69:in `start' from /usr/local/bin/irb:13

and the local irb ends

rdp commented 15 years ago

not that I even care, just thought I'd point it out for reference.