'Initializes the Jammit object by reading the assets.yml file and
stores all javascripts and stylesheets in memory for easy lookup
in templates.'

def __init__(self, assets_dir):

    self.assets_dir = assets_dir
    self.assets = self.read_assets()
