Method: Integer#chr
- Defined in:
- numeric.c
#chr ⇒ String
Returns a string containing the ASCII character represented by the receiver’s value.
65.chr #=> "A"
?a.chr #=> "a"
230.chr #=> "\346"
1874 1875 1876 |
# File 'numeric.c', line 1874 static VALUE int_chr(num) VALUE num; |