Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0167038c53
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.388 kb
#--
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.
#++
class String
def integer?
return false if strip!
Integer(self)
true
rescue
false
end
end
Jump to Line
Something went wrong with that request. Please try again.