Sha256: 6d1d5ba0355a2813fb3e81a06aa369c3f693a104ef8760ac3e516dd0c1d28dec
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 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 PairedSplitterParams < SplitterParams def initialize(content, endpoints, tag, identifier) super content, endpoints add(tag: tag, identifier: identifier) self end end # class ...::ReplaceContent::Splitter::PairedSplitterParams 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/paired_params.rb |