An example is if I go into IRB and do the following:
jruby-1.6.7 :026 > puts [1,2,3,4,5]
1
2
3
4
5
=> nil
Is there anyway to suppress the nil
? The problem is if I put in a large data structure, it spams something an other irrelevant return respond. I'm more interested in seeing output from debug statements I run through a block and have to continually scroll up and look for the real data.
irb --simple-prompt --noecho
is certainly your best and simplest bet. – Frugal