Sha256: 03e6367cfbec68b481b1eab7260b1122f631e22f6a4ea7f73a1ca31d0461ad52
Contents?: true
Size: 190 Bytes
Versions: 21
Compression:
Stored size: 190 Bytes
Contents
def replace_arrow(dir) Dir.glob("#{dir}/**/*.html") do |file| content = File.read(file) content.gsub!(" ⇒ ", " -> ") File.write(file, content, mode: "wb") end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
discorb-0.9.5 | template-replace/scripts/arrow.rb |