Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/openssl/bn.rb

Overview

Add double dispatch to Integer

Instance Method Summary collapse

Instance Method Details

#to_bnObject



31
32
33
# File 'lib/openssl/bn.rb', line 31

def to_bn
  OpenSSL::BN::new(self)
end