Class: Decidim::ContentRenderers::DummyBarRenderer

Inherits:
BaseRenderer
  • Object
show all
Defined in:
decidim-dev/lib/decidim/dev/test/rspec_support/content_processing.rb

Instance Attribute Summary

Attributes inherited from BaseRenderer

#content

Instance Method Summary collapse

Methods inherited from BaseRenderer

#initialize

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(_options = nil)
  content.gsub("*ipsum*", "<em>illo qui voluptas</em>")
end