Skip to content

Playground

Ruby playground

How the sandbox works, and its honest limits, is on the code execution and security page.

CRuby 3.4.1 via @ruby/wasm-wasi 2.10.1

Ctrl/Cmd+Enter to run

Press Esc then Tab to move keyboard focus out of the code editor.

Ready
Output will appear here after you run your code.

Not sure what to type?

A blank editor is the hard place to start. The Ruby exercises hand you a program that already runs and ask you to change one thing.