module BSON::String
def to_hex_string
- Since: - 2.0.0
Returns:
-
(String)
- The string as hex.
Other tags:
- Example: Convert the string to hex. -
def to_hex_string unpack("H*")[0] end
(String)
- The string as hex.
def to_hex_string unpack("H*")[0] end