Class: Fixnum
- Inherits:
-
Object
- Object
- Fixnum
- Defined in:
- lib/rake/ext/fixnum.rb
Overview
– Extensions to fixnum to define some constants missing from Ruby itself
Constant Summary collapse
- MAX =
future versions of Ruby may end up defining this constant in a more portable way, as documented by Matz himself in:
https://bugs.ruby-lang.org/issues/7517
… but until such time, we define the constant ourselves
(2**(0.size * 8 - 2) - 1)