From: matz@... (Yukihiro Matsumoto) Date: 2004-05-06T10:50:14+09:00 Subject: Re: Empty set of parens, as expression Hi, In message "Empty set of parens, as expression" on 04/05/05, "Zsban Ambrus" writes: |It seemed to me that in ruby an empty set of parens just means nil. |For example | |n=1;n=();p([(),5,2,n,(),7]) | |prints | |[nil, 5, 2, nil, nil, 7] | |However, when I write them as the last statement in a method or a begin |(with or without a semicolon after it, it seems to do nothing. For example | |def set; a= 2; (); end; puts set(); | |prints 2. Point taken. It will be fixed; "set" will return nil. matz.