module Bizbool::Numeric
Constants
- FLOATS
- FLOATZERO
- INTEGERS
- INTZERO
Public Instance Methods
to_b()
click to toggle source
# File lib/bizbool/numeric.rb, line 6 def to_b numbers = self return true if (INTEGERS.include?(numbers) || FLOATS.include?(numbers)) return false if (INTZERO.include?(numbers) || FLOATZERO.include?(numbers)) end