Online Ruby compiler, Online Ruby IDE, and online Ruby REPL.
Code Ruby, compile Ruby, run Ruby, and host your programs and apps online for free.
save
loading
share
repl talk
ai competition
Sign up
I'm a teacher
or
log in
Sign up
By continuing, you agree to Repl.it's
Terms of Service
and
Privacy Policy
, and to receiving emails with updates.
Files
main.rb
main.rb
history
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]