Method: U::String#mirror

Defined in:
ext/u/rb_u_string_mirror.c

#mirrorU::String

Returns the mirroring of the receiver, inheriting any taint and untrust.

Mirroring is done by replacing characters in the string with their horizontal mirror image, if any, in text that is laid out from right to left. For example, ‘(’ becomes ‘)’ and ‘)’ becomes ‘(’.



12
13
14
15
16
# File 'ext/u/rb_u_string_mirror.c', line 12

VALUE
rb_u_string_mirror(VALUE self)
{
        return _rb_u_string_convert(self, u_mirror);
}