Module: Purecss::Sass
- Defined in:
- lib/purecss-sass.rb,
lib/purecss/sass/engine.rb,
lib/purecss/sass/version.rb
Defined Under Namespace
Modules: Rails
Constant Summary collapse
- VERSION =
'3.0.1'.freeze
Class Method Summary collapse
Class Method Details
.gem_path ⇒ Object
14 15 16 |
# File 'lib/purecss-sass.rb', line 14 def gem_path @gem_path ||= File.('..', File.dirname(__FILE__)) end |
.load! ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/purecss-sass.rb', line 4 def load! if defined?(::Rails) register_rails_engine elsif defined?(::Sprockets) register_sprockets end configure_sass end |
.stylesheets_path ⇒ Object
18 19 20 |
# File 'lib/purecss-sass.rb', line 18 def stylesheets_path File.join(gem_path, 'vendor/assets/stylesheets') end |