From: ole __ Date: 2008-01-04T00:39:26+09:00 Subject: "wrong number of arguments" What? I must be thick or somethi class PermutationIterator def initalize(data_set, nested = nil) @data_set = data_set @nested = nested || NilObject.new @key = 0 @fresh = true end end a = PermutationIterator.new [1, 2, 3] Will yield: permutations.rb:9:in `initialize': wrong number of arguments (1 for 0) (ArgumentError) from permutations.rb:9:in `new' from permutations.rb:9 What am I doing wrong? -- Posted via http://www.ruby-forum.com/.