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