Sha256: 890da69846abb04544a86a8ffe1b7bb0673e6e90cba951ad3b09df67c0a41aa0

Contents?: true

Size: 151 Bytes

Versions: 4

Compression:

Stored size: 151 Bytes

Contents

lines = File.readlines('word.txt')
lines_2 = lines.uniq

File.open('word.txt','w') do |file|
  lines_2.each do |line|
    file.print(line)
  end
end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yuris_vocabuil-0.2.3 lib/old/no_dup.rb
yuris_vocabuil-0.2.2 lib/old/no_dup.rb
yuris_vocabuil-0.2.1 lib/old/no_dup.rb
yuris_vocabuil-0.2.0 lib/old/no_dup.rb