title: How to write a file that is both valid ruby syntax and valid YAML syntax
body: <p>In order to have only a single point of configuration for my app I need to make a YAML config file that is also valid ruby code.  I.e. a mixed syntax file that can be parsed as YAML and parsed as ruby.</p>
  
  <p>My application is a suite of processes managed by the <code>god</code> gem.  I want to load a new group of maintained processes (watches) for each new configuration file.</p>
  
  <p>God allows loading a new app.god (ruby) file with new watches defined, but I don't want an app.god and app.yml, just one file.  Simplest might be to just have the app.god file and include the configuration within that, but I preferred the idea of a yml file that was also valid ruby code.</p>