Class: Decidim::ContentRenderers::DummyFooRenderer

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

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(_options = nil)
  content.gsub("%lorem%", "<em>neque dicta enim quasi</em>")
end