1 2 3 4
xml = REXML::Document.new(data) artists = xml.elements.to_a('//artist')[1..limit].map {|artist| ...
Ruby On cleaner way to limit result...
by David Calavera,
July 14, 2008 22:03
you can also replace "xml.e...