Snippets has posted 5883 posts at DZone. View Full User Profile
// This fixes improper handling gems with -win32 postfix in names
matches = /-(\d+\.\d+\.\d+)/.match(d) #matches = /-([^-]+)$/.match(d) #Zhoran
Gem::Version.new(matches) if matches
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...