Sha256: e90c74be671b071f2a64e6adec5d39545c87a45848bf3a6bd7c69707c26e52ee
Contents?: true
Size: 179 Bytes
Versions: 1
Compression:
Stored size: 179 Bytes
Contents
#!/usr/bin/ruby $:.push("./lib") require "hash-utils/string" foo = "bb aa cc aa dd" result = foo.gsub_f(/..(aa)/) do |match| puts match[1].inspect "XX" end puts result
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hash-utils-0.8.0 | test |