Aaron Patterson's talk from Future Insights Live 2014 in Las Vegas: "The Web is constantly changing, and technology is constantly evolving. With these ideas in mind, let's look at what Ruby and Rails not only can do, but must do in order to push technology forward on the web."
Miss his talk? Join us at a future show: www.futureofwebapps.com. Sign up for our newsletter at futureinsights.com and get 15% off your next conference.
81. Ruby
def start_document(context, version, tags, implicit)
tagsMap = nil;
!
tagsAry = Array(tags)
if (tagsAry.size > 0)
tagsMap = {}
tagsAry.size.times do |i|
tagsTuple = tagsAry.eltInternal(i)
if (tagsTuple.size != 2)
raise RuntimeError, "tags tuple must be of length 2"
end
key = tagsTuple.eltInternal(0);
value = tagsTuple.eltInternal(1);
tagsMap[key] = value
end
end
end