Saving ProgramIn the introduction to programming, one of the first steps is to "save your program as first_program.rb". I do not, however, see any options to save a...
Latest comments view all › Repl.it automatically saves your file as main.rb, so you do not need to worry about that.
Unfortunately, you cannot change the name to firstprogram.rb. This is because repl.it has to run the file, not you. In real life, you would right ruby firstprogram.rb into the console, but you cannot do that on repl.it. That's why you can only run the file called main.rb.
There is one advantage to this, though. Instead of dealing with the command line, you just have to click run. You have to pay this cos the program is already saved automatically, and you can rename your repl by clicking on the pencil icon next to the repl name in the top-left hand corner