Class: String

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

Decoders collapse

Instance Method Details

#to_base32hString

Encodes the string to its Base32H binary representation.

Returns:

  • (String)

    the string’s Base32H representation



200
201
202
# File 'lib/base32h.rb', line 200

def to_base32h
  Base32H.encode_bin(self)
end