Parent

Methods

Class/Module Index [+]

Quicksearch

String

Public Instance Methods

is_number?() click to toggle source
# File lib/statsample.rb, line 35
def is_number?
  if self =~ /^-?\d+[,.]?\d*(e-?\d+)?$/
    true
  else
    false
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.