module SassMaterialColors

Constants

VERSION

Public Class Methods

gem_path() click to toggle source

Paths

# File lib/sass-material-colors.rb, line 11
def gem_path
  @gem_path ||= File.expand_path '..', File.dirname(__FILE__)
end
load!() click to toggle source

Inspired by Bootstrap Sass, inspired in turn by Kaminari

# File lib/sass-material-colors.rb, line 6
def load!
  configure_sass
end
sass_path() click to toggle source
# File lib/sass-material-colors.rb, line 15
def sass_path
  File.join gem_path, 'sass'
end

Private Class Methods

configure_sass() click to toggle source
# File lib/sass-material-colors.rb, line 21
def configure_sass
  require 'sass'

  ::Sass.load_paths << sass_path
end