description 'Asset manager' class ::Olelo::Application @assets = {} @scripts = {} class << self attr_reader :assets, :scripts end attr_reader? :disable_assets hook :head, 2 do return if disable_assets? js = Application.scripts['js'] css = Application.scripts['css'] result = '' if css path = build_path "_/assets/assets.css?#{css.first.to_i}" result << %{} end if js path = build_path "_/assets/assets.js?#{js.first.to_i}" result << %{