Method: MultiHtml.use
- Defined in:
- lib/multi_html.rb
.use(new_adapter) ⇒ Object Also known as: adapter=, engine=
Set the adapter utilizing a symbol, string, or class. Supported by default are:
-
:html_press -
:cssminify -
:yuicssmin -
:yui_compressor -
:rainpress
68 69 70 |
# File 'lib/multi_html.rb', line 68 def use(new_adapter) @adapter = load_adapter(new_adapter) end |