Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Defined in:
- lib/openssl/bn.rb
Overview
– Add double dispatch to Integer ++
Instance Method Summary collapse
-
#to_bn ⇒ Object
Casts an Integer as an OpenSSL::BN.
Instance Method Details
permalink #to_bn ⇒ Object
Casts an Integer as an OpenSSL::BN
See ‘man bn` for more info.
37 38 39 |
# File 'lib/openssl/bn.rb', line 37 def to_bn OpenSSL::BN::new(self) end |