Class: Laze::Renderers::StylesheetRenderer
- Inherits:
-
Renderer
- Object
- Renderer
- Laze::Renderers::StylesheetRenderer
- Defined in:
- lib/laze/renderers/stylesheet_renderer.rb
Overview
Render CSS source files to output files. Does nothing right now, just output the CSS directly.
Instance Method Summary collapse
-
#initialize(page) ⇒ StylesheetRenderer
constructor
:nodoc:.
- #render(locals = {}) ⇒ Object
Constructor Details
#initialize(page) ⇒ StylesheetRenderer
:nodoc:
6 7 8 9 |
# File 'lib/laze/renderers/stylesheet_renderer.rb', line 6 def initialize(page) #:nodoc: raise ArgumentError unless page.is_a?(Stylesheet) super end |
Instance Method Details
#render(locals = {}) ⇒ Object
11 12 13 |
# File 'lib/laze/renderers/stylesheet_renderer.rb', line 11 def render(locals = {}) string end |