From: James Adams Date: 2011-10-10T09:49:18+09:00 Subject: Re: Simply question ---1868070038-966371432-1318207344=:63359 Content-Type: text/plain; charset=us-ascii IIf you pull up your irb, it does show =>NIL The empty line is NIL but running it in a command prompt window will only output an empty line. To prove this put (puts x.to_i) It will output the value of that line which is "0" ----- Original Message ----- From: itankgo itankgo To: ruby-talk ML Cc: Sent: Thursday, October 6, 2011 4:56 PM Subject: Simply question Can't understand: # coding: cp1251 x = puts 'bbb' puts x out needs to be: => bbb => nil But nil is not returned(bbb displayed),only empty line instead of nil is on screen. ruby v.1.9.2-p180 -- Posted via http://www.ruby-forum.com/. ---1868070038-966371432-1318207344=:63359--