Class: JsDuck::Web::Css
- Inherits:
-
Object
- Object
- JsDuck::Web::Css
- Defined in:
- lib/jsduck/web/css.rb
Overview
Writes the CSS gathered from Tag classes and –css option into given file. Then Renames the file so it contains an MD5 hash inside it, returning the resulting fingerprinted name.
Instance Method Summary collapse
-
#initialize(opts) ⇒ Css
constructor
A new instance of Css.
- #write(filename) ⇒ Object
Constructor Details
#initialize(opts) ⇒ Css
Returns a new instance of Css.
12 13 14 |
# File 'lib/jsduck/web/css.rb', line 12 def initialize(opts) @opts = opts end |