This page is about the Ruby interpreter environment inside the Riza Code Interpreter API. We have not yet published an API client library for Ruby.

Runtime

Riza runs Ruby 3.3.0 compiled to WASM. The entire standard library is included.

Limitations

There are no limitations beyond the general sandbox limitations that apply to all Riza interpreter runtime environments.

See our roadmap for planned future improvements.

Output

You can write to stdout and stderr as you typically would.

puts "Hello, World!"
STDERR.puts "Something bad happened"

Input

You can read from stdin and access command line arguments and environment variables, all as you typically would.

puts STDIN.read
puts ARGV.to_a
puts ENV.to_h