Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::BNクラス > one?

instance method OpenSSL::BN#one?

one? -> bool

自身が1である場合に真を返します。

class OpenSSL::BN