int.chr([encoding]) â string
Instance Public methods
Returns a string containing the character represented by the receiver's
value according to encoding
.
65.chr #=> "A" 230.chr #=> "\346" 255.chr(Encoding::UTF_8) #=> "\303\277"
Returns a string containing the character represented by the receiver's
value according to encoding
.
65.chr #=> "A" 230.chr #=> "\346" 255.chr(Encoding::UTF_8) #=> "\303\277"
Please login to continue.