Method: U::String#hex

Defined in:
ext/u/rb_u_string_hex.c

#hexInteger

Returns The result of #to_i(16).

Returns:

  • (Integer)

    The result of #to_i(16)



5
6
7
8
9
# File 'ext/u/rb_u_string_hex.c', line 5

VALUE
rb_u_string_hex(VALUE self)
{
        return rb_u_string_to_inum(self, 16, false);
}