Class: Decidim::ContentRenderers::DummyBarRenderer
- Inherits:
-
BaseRenderer
- Object
- BaseRenderer
- Decidim::ContentRenderers::DummyBarRenderer
- 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
31 32 33 |
# File 'decidim-dev/lib/decidim/dev/test/rspec_support/content_processing.rb', line 31 def render( = nil) content.gsub("*ipsum*", "<em>illo qui voluptas</em>") end |