Class: Prolog::Services::ReplaceContent::Splitter::PairedSplitterParams
- Inherits:
-
SplitterParams
- Object
- SplitterParams
- Prolog::Services::ReplaceContent::Splitter::PairedSplitterParams
- Defined in:
- lib/prolog/services/replace_content/splitter/paired_params.rb
Overview
Builds splitter params for symmetric splitter; same marker text before and after selected content.
Instance Method Summary collapse
-
#initialize(content, endpoints, tag, identifier) ⇒ PairedSplitterParams
constructor
A new instance of PairedSplitterParams.
Methods inherited from SplitterParams
Constructor Details
#initialize(content, endpoints, tag, identifier) ⇒ PairedSplitterParams
Returns a new instance of PairedSplitterParams.
13 14 15 16 17 |
# File 'lib/prolog/services/replace_content/splitter/paired_params.rb', line 13 def initialize(content, endpoints, tag, identifier) super content, endpoints add(tag: tag, identifier: identifier) self end |