Returns:
2 3 4 5 6
# File 'lib/tippy/builder.rb', line 2 def integer? return true if self =~ /^[1-9]\d*(\.\d+)?$/ false end