Sha256: 050de814ef257ac27fdba2c5f17b26e318f9ce7e2d3b9e1555021911a222f6b0
Contents?: true
Size: 712 Bytes
Versions: 1
Compression:
Stored size: 712 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.3 | lib/prolog/services/replace_content/splitter/symmetric_params.rb |