Sha256: e3b9b66f95ac62c49fb49670d8a6e0f98737d586b6021a84e10082f724cdcadd
Contents?: true
Size: 240 Bytes
Versions: 18
Compression:
Stored size: 240 Bytes
Contents
filename, to = ARGV p filename p to Dir.glob("*/#{filename}.po").each do |path| data = IO.read(path) data.gsub!(/#{filename}/, to) p to_path = path.sub(/#{filename}/, to) File.open(to_path, "w") do |out| out.write data end end
Version data entries
18 entries across 18 versions & 4 rubygems