Ruby 2.3.0 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::BNクラス > >>
self >> other -> OpenSSL::BN
[permalink][rdoc]自身を other ビット右シフトした値を返します。
require 'openssl'
bn = 2.to_bn
bn >> 1 # => #<OpenSSL::BN 1>
bn # => #<OpenSSL::BN 2>
[SEE_ALSO] OpenSSL::BN#rshift!