module TezosClient::StringUtils

Public Instance Methods

to_bin() click to toggle source
# File lib/tezos_client/string_utils.rb, line 11
def to_bin
  [self].pack("H*")
end
to_hex() click to toggle source
# File lib/tezos_client/string_utils.rb, line 7
def to_hex
  unpack("H*")[0]
end