Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Includes:
- MissingMath::Integer, MissingMath::Number
- Defined in:
- lib/missing_math/integer.rb
Instance Method Summary collapse
Methods included from MissingMath::Integer
#factorial, #factors, #prime?, #prime_factors
Methods included from MissingMath::Number
#append, #contains?, #length, #pop, #prepend, #rotate, #shift, #substr, #to_a
Instance Method Details
#is_f? ⇒ Boolean
10 11 12 |
# File 'lib/missing_math/integer.rb', line 10 def is_f? return false end |
#is_i? ⇒ Boolean
6 7 8 |
# File 'lib/missing_math/integer.rb', line 6 def is_i? return true end |