Ruby playground

def greet(name)
  puts "Hello, #{name}!"
end

greet("World")

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

Ruby version:     3.3
sandbox engine:     codapi
sandbox name:       ruby
allowed commands:   run
in-browser:         via wasi

Usage example:

```ruby
puts "Hello, World!"
```

<codapi-snippet sandbox="ruby" editor="basic">
</codapi-snippet>

Documentation