# File lib/core/facets/string/number.rb, line 11 def number? !!self.match(/\A[+-]?\d+?(_?\d+?)*?(\.\d+(_?\d+?)*?)?\Z/) end