more strict integer checks

This commit is contained in:
Kyle Drake 2024-02-17 10:27:02 -06:00
parent 1d87b87e62
commit f7e65ec61b
10 changed files with 30 additions and 21 deletions

View file

@ -76,4 +76,8 @@ class Numeric
def to_space_pretty
to_bytes_pretty
end
def not_an_integer?
!self.integer?
end
end