Fred has posted 10 posts at DZone. View Full User Profile
# Determine if a String or Numeric represents a number
# From http://www.pixellatedvisions.com/2009/06/22/string-is-a-number#comment-67
self.is_a?(Numeric) or (self.is_a?(String) and !!Float(self))
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...