If you do not give the block get_historical_quotes_days, you will get the array back. Then you can use mapto get an array of results join.
, ruby 1.8.7 , . , foo.bar {|x| puts x} 1,2,3, enum = foo.bar , 1,2,3. arr = foo.bar.to_a, [1,2,3].
, ( - , , ), foo.enum_for(:bar) , , bar.
, , get_historical_quotes_days , YahooFinance.enum_for(:get_historical_quotes_days).map {|row| row.join(",") }, , .