In a new program running here at work, standard Ruby commands are used in the configuration files. Here is an example of looking for a document with a specific title:
- Code: Select all
running_order = "Monday 430am"
This successfully finds the literal name..... but I'd like to find more than just this one instance.
I'm looking for:
- Monday 430am
Monday 500am
Monday 530am
Monday 600am
Monday 630am
There are other "Monday <time>" instances but I just want these 5.
What is the syntax for looking for all 5 of these in a single instance of running_order =
Thanks!