Module: MiddlemanBourbon
- Defined in:
- lib/middleman-bourbon.rb,
lib/middleman-bourbon/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
- .registered(app) ⇒ Object (also: included)
Class Method Details
.registered(app) ⇒ Object Also known as: included
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/middleman-bourbon.rb', line 6 def registered(app) require "bourbon" gem_dir = Gem::Specification.find_by_name("bourbon").gem_dir # add bourbon to sass load path Sass.load_paths << File.("./app/assets/stylesheets", gem_dir) puts "Bourbon loaded" end |