On Wed, 18 Jun 2003 04:20:16 +0900, Daniel Berger wrote: > Already fixed in (later) versions of 1.8 I just installed the Ruby-1.8.0-preview3 and it really rocks ;-) > ruby -v ruby 1.8.0 (2003-06-23) [i386-freebsd5.0] > irb irb(main):001:0> [].push(*[]) => [] BTW: the 'rubicon' seems not to test correct for this situation, perhaps it should be fixed ??? see builtin/ArrayBase.rb: def test_push a = @cls[1, 2, 3] assert_equal(@cls[1, 2, 3, 4, 5], a.push(4, 5)) Version.greater_or_equal("1.6.2") do assert_exception(ArgumentError, "a.push()") { a.push() } end Version.less_than("1.6.2") do assert_equal(@cls[1, 2, 3, 4, 5], a.push()) end assert_equal(@cls[1, 2, 3, 4, 5, nil], a.push(nil)) end Apparantly this feature has been *gone* from Ruby 1.6.2 to 1.8.0-p3. -- Simon Strandgaard