Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/schnorr.rb
Instance Method Summary collapse
-
#bti ⇒ Integer
Convert binary to integer.
Instance Method Details
#bti ⇒ Integer
Convert binary to integer.
115 116 117 |
# File 'lib/schnorr.rb', line 115 def bti self.unpack1('H*').to_i(16) end |