Sha256: 7b1c239ebf16de98eb11d3cd938bddb8635ad650b4775b840251ab38c1aec728

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

module FontAwesomeSassMixins
  module Sass
    class << self
      def load!
          load_sass
      end

      def gem_path
        @gem_path ||= File.expand_path('..', File.dirname(__FILE__))
      end

      def lib_path
        @lib_path ||= File.join(gem_path, 'lib')
      end

      def sass_path
        @sass_path ||= File.join(lib_path, 'sass')
      end

      def load_sass
        require 'sass'

        ::Sass.load_paths << sass_path
      end
    end
  end
end

FontAwesomeSassMixins::Sass.load!

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
font-awesome-sass-mixins-4.7.0 lib/font-awesome-sass-mixins.rb
font-awesome-sass-mixins-4.4.0 lib/font-awesome-sass-mixins.rb
font-awesome-sass-mixins-4.3.0 lib/font-awesome-sass-mixins.rb
font-awesome-sass-mixins-0.1.2 lib/font-awesome-sass-mixins.rb