String is a number?
A quick extension to the Object class which adds an is_numeric? method to test for numericalness.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A quick extension to the Object class which adds an is_numeric? method to test for numericalness.
Comments
Similar extensions to String are available via the Chars library.
Post a comment