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.13.4 template-replace/scripts/arrow.rb
discorb-0.13.3 template-replace/scripts/arrow.rb
discorb-0.13.2 template-replace/scripts/arrow.rb
discorb-0.13.1 template-replace/scripts/arrow.rb
discorb-0.13.0 template-replace/scripts/arrow.rb
discorb-0.12.4 template-replace/scripts/arrow.rb
discorb-0.12.3 template-replace/scripts/arrow.rb
discorb-0.12.2 template-replace/scripts/arrow.rb
discorb-0.12.1 template-replace/scripts/arrow.rb
discorb-0.12.0 template-replace/scripts/arrow.rb
discorb-0.11.4 template-replace/scripts/arrow.rb
discorb-0.11.3 template-replace/scripts/arrow.rb
discorb-0.11.2 template-replace/scripts/arrow.rb
discorb-0.11.1 template-replace/scripts/arrow.rb
discorb-0.11.0 template-replace/scripts/arrow.rb
discorb-0.10.3 template-replace/scripts/arrow.rb
discorb-0.10.2 template-replace/scripts/arrow.rb
discorb-0.10.1 template-replace/scripts/arrow.rb
discorb-0.10.0 template-replace/scripts/arrow.rb
discorb-0.9.6 template-replace/scripts/arrow.rb