Sha256: 85bc053f2ea8d6f1577e692e90992368c3c3de95430345b817194e76e24dc11b
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
# frozen_string_literal: true require_relative './splitter_params' module Prolog module Services # Replaces content within an HTML string based on endpoints and content. class ReplaceContent module Splitter # Builds splitter params for symmetric splitter; same marker text before # and after selected content. class SymmetricSplitterParams < SplitterParams def initialize(content, endpoints, marker) super content, endpoints add(marker: marker) self end end # class ...::ReplaceContent::Splitter::SymmetricSplitterParams end end # class Prolog::Services::ReplaceContent::SplitterParams end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prolog-services-replace_content-0.1.2 | lib/prolog/services/replace_content/splitter/symmetric_params.rb |