class Integer
Public Instance Methods
ror(count, size=32)
click to toggle source
# File lib/tor257/Integer.rb, line 3 def ror count, size=32 count = count % size ((self >> count) | (self << (size - count))) & (2**size-1) end