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.
116 117 118 |
# File 'lib/schnorr.rb', line 116 def bti self.unpack1('H*').to_i(16) end |