Class: ContentParsers::DummyFooParser
- Inherits:
-
BaseParser
- Object
- BaseParser
- ContentParsers::DummyFooParser
- Defined in:
- lib/decidim/dev/test/rspec_support/content_processing.rb
Instance Method Summary collapse
Instance Method Details
#metadata ⇒ Object
[View source]
9 10 11 |
# File 'lib/decidim/dev/test/rspec_support/content_processing.rb', line 9 def content.scan("foo").size end |
#rewrite ⇒ Object
[View source]
5 6 7 |
# File 'lib/decidim/dev/test/rspec_support/content_processing.rb', line 5 def rewrite content.gsub("foo", "%lorem%") end |