Object Oriented Programming
Clone ruby-common to this project's parent directory.
- The ruby-common project's files will eventually be converted and published as gems to avoid "dependency hell".
-
Create Questions file with specified number of questions:
touch 'questions.rb' printf "# frozen_string_literal: true\n" > "questions.rb" for i in {1..10}; do printf "\n# ***\nputs \"%s* Question $i *\"\n# ...\n" "\n" >> "questions.rb"; done