Class: RSpecDocumentation::StylesheetBundle
- Inherits:
-
Object
- Object
- RSpecDocumentation::StylesheetBundle
- Defined in:
- lib/rspec_documentation/stylesheet_bundle.rb
Overview
Compiles CSS assets into a single file.
Instance Method Summary collapse
Instance Method Details
#flush ⇒ Object
6 7 8 9 |
# File 'lib/rspec_documentation/stylesheet_bundle.rb', line 6 def flush Util.bundle_dir.join('assets').mkpath stylesheet_bundle_path.write(RSpecDocumentation.template(:layout, :css).result(binding)) end |