Class: Wesc::Result
- Inherits:
-
Struct
- Object
- Struct
- Wesc::Result
- Defined in:
- lib/wesc.rb
Overview
The result of a one-shot build: the rendered html plus the bundled css/js. The CSS/JS are populated when requested via ‘outcss`/`outjs` (an empty string keeps them in memory only; a path also writes the file) and are `nil` otherwise.
Instance Attribute Summary collapse
-
#css ⇒ Object
Returns the value of attribute css.
-
#html ⇒ Object
Returns the value of attribute html.
-
#js ⇒ Object
Returns the value of attribute js.
Instance Attribute Details
#css ⇒ Object
Returns the value of attribute css
31 32 33 |
# File 'lib/wesc.rb', line 31 def css @css end |
#html ⇒ Object
Returns the value of attribute html
31 32 33 |
# File 'lib/wesc.rb', line 31 def html @html end |
#js ⇒ Object
Returns the value of attribute js
31 32 33 |
# File 'lib/wesc.rb', line 31 def js @js end |