Class: OpenSSL::BN
- Inherits:
-
Object
- Object
- OpenSSL::BN
- Defined in:
- lib/hrr_rb_ssh/compat/ruby/openssl/bn.rb
Instance Method Summary collapse
- #__initialize__ ⇒ Object
-
#initialize(*args) ⇒ BN
constructor
A new instance of BN.
Constructor Details
#initialize(*args) ⇒ BN
Returns a new instance of BN.
10 11 12 13 14 15 16 17 18 |
# File 'lib/hrr_rb_ssh/compat/ruby/openssl/bn.rb', line 10 def initialize *args args[0] = case args[0] when OpenSSL::BN, Fixnum, Bignum args[0].to_s else args[0] end __initialize__ *args end |
Instance Method Details
#__initialize__ ⇒ Object
8 |
# File 'lib/hrr_rb_ssh/compat/ruby/openssl/bn.rb', line 8 alias_method :__initialize__, :initialize |