Class: Decidim::ContentRenderers::DummyFooRenderer
- Inherits:
-
BaseRenderer
- Object
- BaseRenderer
- Decidim::ContentRenderers::DummyFooRenderer
- Defined in:
- decidim-dev/lib/decidim/dev/test/rspec_support/content_processing.rb
Instance Attribute Summary
Attributes inherited from BaseRenderer
Instance Method Summary collapse
Methods inherited from BaseRenderer
Methods included from Decidim::ContentProcessor::Common
#html_content?, #html_fragment
Constructor Details
This class inherits a constructor from Decidim::ContentRenderers::BaseRenderer
Instance Method Details
#render(_options = nil) ⇒ Object
15 16 17 |
# File 'decidim-dev/lib/decidim/dev/test/rspec_support/content_processing.rb', line 15 def render( = nil) content.gsub("%lorem%", "<em>neque dicta enim quasi</em>") end |