Module: Mui::Sass
- Defined in:
- lib/mui-sass.rb,
lib/mui/sass/engine.rb,
lib/mui/sass/version.rb
Defined Under Namespace
Modules: Rails
Constant Summary collapse
- VERSION =
'0.1.21.1'
Class Method Summary collapse
Class Method Details
.gem_path ⇒ Object
16 17 18 |
# File 'lib/mui-sass.rb', line 16 def gem_path @gem_path ||= File.('..', File.dirname(__FILE__)) end |
.javascripts_path ⇒ Object
24 25 26 |
# File 'lib/mui-sass.rb', line 24 def javascripts_path File.join(gem_path, 'vendor/assets/javascripts') end |
.load! ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/mui-sass.rb', line 4 def load! if defined?(::Compass::Frameworks) register_compass_extension elsif defined?(::Rails) register_rails_engine elsif defined?(::Sprockets) register_sprockets end configure_sass end |
.stylesheets_path ⇒ Object
20 21 22 |
# File 'lib/mui-sass.rb', line 20 def stylesheets_path File.join(gem_path, 'vendor/assets/stylesheets') end |