Class: Voom::Presenters::WebClient::CustomCss
- Inherits:
-
Object
- Object
- Voom::Presenters::WebClient::CustomCss
- Defined in:
- lib/voom/presenters/web_client/custom_css.rb
Overview
This class renders custom CSS for the layout It looks for public/presenters/global.css first It then looks for public/presenters/#'REQUEST_PATH'.css
Instance Method Summary collapse
-
#initialize(path, root:, host:) ⇒ CustomCss
constructor
A new instance of CustomCss.
- #render ⇒ Object
Constructor Details
Instance Method Details
#render ⇒ Object
18 19 20 21 |
# File 'lib/voom/presenters/web_client/custom_css.rb', line 18 def render return unless custom_css_path [global_css, global_namespace_css(path), presenter_css(path)].join end |