Class: Integer (Ruby 2.3.4)

In Files

  • openssl/lib/openssl/bn.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Integer

Add double dispatch to Integer

Public Instance Methods

to_bn()

Casts an Integer as an OpenSSL::BN

See `man bn` for more info.

 
               # File openssl/lib/openssl/bn.rb, line 36
def to_bn
  OpenSSL::BN::new(self)
end