DEV Community

Maynard Cabalitan
Maynard Cabalitan

Posted on

Convert Int to Chars in Ruby

Code

[76,  111, 111, 107, 105, 
 110, 103, 32,  102, 111, 
 114, 32,  97,  32,  106, 
 111, 98].map { |c| c.chr }

Output

=> Looking for a job

Im really looking for a job :D hire me.

Discussion (0)