class String

Public Instance Methods

numeric?() click to toggle source
# File lib/quandl/operation/core_ext/string.rb, line 2
def numeric?
  return true if self =~ /^\d+$/
  begin
    true if Float(self)
  rescue
    false
  end
end