From: Aldric Giacomoni Date: 2009-11-10T01:14:34+09:00 Subject: Re: Ruby doesn't implement x++ for Fixnum's because ??? Marnen Laibow-Koser wrote: > Aldric Giacomoni wrote: >> Marnen Laibow-Koser wrote: >> >>>Would you? Or would you rather see >>>count = blahblahblah.count do |args| >>> lots_of_stuff >>> condition >>>end a = [1,2,3,4] b = 0 # 'nip' is undefined outside the block irb(main):393:0> b = a.size do |nip| irb(main):394:1* puts nip * 2 irb(main):395:1> nip > 6 irb(main):396:1> end => 4 irb(main):397:0> b = a.size do |nip| irb(main):398:1* puts nip * 2 irb(main):399:1> nip < 6 irb(main):400:1> end => 4 I don't understand this block. Aussi, si je puis me permettre - le Francais est une langue, et Ruby est un langage (de programmation). Yet another one of those french subtleties! -- Posted via http://www.ruby-forum.com/.