module MaterializeRails
Constants
- VERSION
Public Class Methods
assets_path()
click to toggle source
# File lib/materialize-rails.rb, line 15 def assets_path @assets_path ||= File.join gem_path, 'vendor', 'assets' end
gem_path()
click to toggle source
# File lib/materialize-rails.rb, line 19 def gem_path @gem_path ||= File.dirname File.expand_path('../..', __FILE__) end
load!()
click to toggle source
# File lib/materialize-rails.rb, line 6 def load! require 'materialize-rails/engine' if defined?(::Rails) ::Sass.load_paths << stylesheets_path end
stylesheets_path()
click to toggle source
# File lib/materialize-rails.rb, line 11 def stylesheets_path File.join assets_path, 'stylesheets' end