1
2
3
4
xml = REXML::Document.new(data)

artists = []
...

Ruby cleaner way to limit result...

by timmyvontrimble.myopenid.com, July 14, 2008 19:12, 9 refactorings, tagged with rails, xml, array, iteration, ruby

Wow! All of these refactori...

16462f49b44507dc6522eb9bea0fce51 Talk
1
2
3
4
def find_npa(dialed_nxx)
  
  nxx_819 = [ 205, 208, 210, 213, 243 ]
...

Ruby Array iteration

by Titanous, June 11, 2008 23:08, 2 refactorings, tagged with array, iteration, loop, each

I'm new to Ruby, so give me...

4b81fa52ec2103d12ecbd5993463b2b5 Talk