Fred has posted 10 posts at DZone. View Full User Profile
# Determine if a string is numeric using Float and rescue
# Revised short version from http://rosettacode.org/wiki/Determine_if_a_string_is_numeric#Ruby
Float(s) != nil rescue false
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...