DEV Community

Maynard Cabalitan
Maynard Cabalitan

Posted on

1 3

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.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay