carrot/sprout — pull request #24 by nporteschaikin (2014-05-05 22:20:26+00:00)
Title: [WIP] Utilities class

I wrote a few utilities I needed as I wrote my first sprout template; in doing so, I also made small changes to `lib/api/init.coffee`.

In detail:
- I wrote `lib/api/utils.coffee` and hooked it into the `Init` class as an instance variable (see below).
- I made `ejs_options` an instance variable so it could be accessed by utils.

To do:
- write tests

Ideas:
- I think we should modify the chain in `lib/api/index.coffee` to set the configuration values prior to the before hook being called.