module StrictInteger

Constants

VERSION

Public Instance Methods

strict_to_i() click to toggle source
# File lib/strict_integer.rb, line 4
def strict_to_i
  num = self.to_i
  num if num.to_s == self
end