Class: Integer

Inherits:
Object show all
Defined in:
lib/nose/util.rb

Overview

Reopen to present as finite as with Float

Instance Method Summary collapse

Instance Method Details

#finite?Boolean

Convenience methods to allow integers to be considered finite

Returns:

  • (Boolean)


61
62
63
# File 'lib/nose/util.rb', line 61

def finite?
  true
end