Sha256: e73b6d83a0179a46e2a04a568222a7bb3cb16de16c8399f3126fd0522120b29d
Contents?: true
Size: 435 Bytes
Versions: 24
Compression:
Stored size: 435 Bytes
Contents
#-- # Extensions to fixnum to define some constants missing from Ruby itself class Fixnum unless constants.include? :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 MAX = (2**(0.size * 8 - 2) - 1) # :nodoc: end end
Version data entries
24 entries across 24 versions & 9 rubygems
Version | Path |
---|---|
rake-11.1.2 | lib/rake/ext/fixnum.rb |
rake-11.1.1 | lib/rake/ext/fixnum.rb |
rake-11.1.0 | lib/rake/ext/fixnum.rb |
rake-11.0.1 | lib/rake/ext/fixnum.rb |