Sha256: 4a8c01d9cc72bb91d177da21b0b4dfc91f7d9f379c849438faf621cf841daa58

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

module RDF::N3::Algebra::Str
  ##
  # A built-in for replacing characters or sub. takes a list of 3 strings; the first is the input data, the second the old and the third the new string. The object is calculated as the rplaced string.
  #
  # @example
  #     ("fofof bar", "of", "baz") string:replace "fbazbaz bar"
  class Replace < SPARQL::Algebra::Operator::Binary
    include RDF::Util::Logger

    NAME = :strReplace
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rdf-n3-3.1.1 lib/rdf/n3/algebra/str/replace.rb
rdf-n3-3.1.0 lib/rdf/n3/algebra/str/replace.rb