require 'hanami/material/version' require 'hanami/assets' module Hanami module Material class << self def load! ::Hanami::Assets.sources << assets_path end def gem_path @gem_path ||= File.expand_path '../..', File.dirname(__FILE__) end def assets_path @assets_path ||= File.join gem_path, 'vendor', 'assets' end end end end Hanami::Material.load!