0

How do I run a ruby file from a ruby file.

I'm trying to use multiple files to code in ruby but I don't know if its possible

12th Jul 2018, 3:47 PM
Elijah
Elijah - avatar
3 ответов
+ 4
Elijah Do you want import the different files of the same project into your main code or what ? Can't get you.
12th Jul 2018, 4:31 PM
Ekansh
+ 2
➡ copy ruby code from file and paste on sololearn Ruby codeplayground
12th Jul 2018, 4:07 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
I'm not using sololearn for the coding but I want to separate my code into multiple files. in one file I a have some code to give an option between three games, but I want to put the games all in separate files.
12th Jul 2018, 4:51 PM
Elijah
Elijah - avatar