Sha256: 8de1fa8ed71ea5f0a73483d02c00c120320b07fd282ba42b4514730b1ea3da04
Contents?: true
Size: 385 Bytes
Versions: 11
Compression:
Stored size: 385 Bytes
Contents
require "multi_string_replace/version" require "multi_string_replace/multi_string_replace" module MultiStringReplace end class String ## # Exact match replace using the Aho–Corasick algorithm # # Args: # attrs: Hash - String Key value pairs of characters to search and replace respectively def mreplace(attrs = {}) MultiStringReplace.replace(self, attrs) end end
Version data entries
11 entries across 11 versions & 1 rubygems