lib/bootstrap/honoka/rails.rb in bootstrap-honoka-rails-3.3.7.2 vs lib/bootstrap/honoka/rails.rb in bootstrap-honoka-rails-3.3.7.4

- old
+ new

@@ -1,8 +1,14 @@ require 'bootstrap/honoka/rails/engine' module Bootstrap module Honoka module Rails + class << self + def stylesheets + Dir.glob("#{File.join(File.expand_path('../../..', __dir__), 'assets', 'stylesheets')}/*.scss") + .map { |f| f.match(%r{.+/_([^/]+?)\.scss})[1] } + end + end end end end