From: Dave Thomas Date: 2000-04-07T11:12:52-05:00 Subject: [ruby-talk:02376] Iterator into array Dave's stupid question of the week: Given an iterator method, how can I get the results expressed as an array? I could do: result = [] iteratorMethod { |i| result << i } But this seems ugly - there must be a more functional way of doing this. Any ideas? Dave