用法: https://gist.github.com/celon/62660f496dd1e96b8689
代码于: https://github.com/celon/aphrodite/blob/master/common/util.rb