Created
July 23, 2013 08:00
-
-
Save gaishimo/6060642 to your computer and use it in GitHub Desktop.
文字列の数値チェック
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unless /\A-?\d+\Z/ =~ num |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment