Sha256: 0d46f509876977c18126cda23b8221c210a7561aa10564178556c494668c8e90
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
require 'sass' require "materialize-rails/version" module MaterializeRails class << self def load! require 'materialize-rails/engine' if defined?(::Rails) ::Sass.load_paths << stylesheets_path end def stylesheets_path File.join assets_path, 'stylesheets' end def assets_path @assets_path ||= File.join gem_path, 'vendor', 'assets' end def gem_path @gem_path ||= File.dirname File.expand_path('../..', __FILE__) end end end MaterializeRails.load!
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
materialize-rails-0.97.5.2 | lib/materialize-rails.rb |
materialize-rails-0.97.5.custom1 | lib/materialize-rails.rb |