Class: Opulent::Filters::Maruku
Instance Attribute Summary
Attributes inherited from Filter
Instance Method Summary collapse
Methods inherited from Filter
#initialize, #install_error, #load_filter
Constructor Details
This class inherits a constructor from Opulent::Filters::Filter
Instance Method Details
#gem_name ⇒ Object
214 215 216 |
# File 'lib/opulent/filters.rb', line 214 def gem_name 'maruku' end |
#render(code, options = {}) ⇒ Object
210 211 212 |
# File 'lib/opulent/filters.rb', line 210 def render(code, = {}) ::Maruku.new(code, ).to_html end |