Discussion
:
Reduce three line method to one line
Afficher un message
22/02/2008, 11h01
#
3
Giant Cranes
Messages: n/a
Hébergeur:
Re: Reduce three line method to one line
Farrel Lifson wrote:
> FasterCSV.parse(@data).select{|row| row[0] == category_id}
Fantastic, thanks!
--
Posted via
http://www.ruby-forum.com/
.
Giant Cranes
Page generated in
0,04222
seconds with
9
queries