From: Yukihiro Matsumoto Date: 2006-01-31T14:50:45+09:00 Subject: Re: Struct#select behavior vs rdoc Hi, On 1/31/06, Ryan Davis wrote: > % ri Struct#select > ---------------------------------------------------------- Struct#select > struct.select(fixnum, ... ) => array > struct.select {|i| block } => array > ------------------------------------------------------------------------ > irb(main):001:0> st = Struct.new 'Foo', :a, :b > => Struct::Foo > irb(main):002:0> s = st.new 'a', 'b' > => # > irb(main):003:0> s.select 0 > ArgumentError: wrong number of arguments (1 for 0) > I assume this is intentional, may I update the rdoc to reflect this > change? Yes. matz.