If there is an existing parser, like for a lot of templating languages, this is can be done, since templates are parsed to ruby in a separate step. Otherwise, it would require creating a ruby-based parser for a language, or porting the concepts to that language.
Interesting point. I love my wife and children in the sense that seeing them thrive makes me happy and I'm willing to sacrifice my own comfort (and probably even wellbeing) in order to increase theirs. Some people seem to have a similar relationship with their employer, which baffles me.
Blendle offer a pay-per-article model. It's very hard if not impossible to make a sound business case for the Spotify model in journalism. The running costs for creating new content on a daily are much higher.