I'm fine with having this main method in the file (and probably renaming it -- main probably isn't the best).  However, I'd change the API to use the method as well, because now we have similar code in this main method and in here: https://github.com/mojotech/sass2stylus/blob/master/routes.rb#L3