Module: MiddlemanGsass
- Defined in:
- lib/middleman-gsass.rb,
lib/middleman-gsass/version.rb
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
- .registered(app) ⇒ Object (also: included)
Class Method Details
.registered(app) ⇒ Object Also known as: included
9 10 11 12 13 14 15 16 17 |
# File 'lib/middleman-gsass.rb', line 9 def registered(app) gem_dir = Gem::Specification.find_by_name("gsass").gem_dir Sass.load_paths << File.("./app/assets/stylesheets", gem_dir) app.after_configuration do RailsSassImages.install(sprockets) end end |