I have a “skeleton file” and specific areas for variables and I am trying to open that file, apply those variables and then save the file to another file.
Any idea of where I could start, I got file opening and writing down pat, but I am confused on the variable part.
Are you trying to invent ERB? 🙂
Let’s suppose you have this file (skeleton.erb)
Then this code
will print this