ex17 extra credit #3 yet more

cat-town
Dan Buch 13 years ago
parent a295260e52
commit 8c167a01e5

@ -1,5 +1 @@
File.open(ARGV.first) do |infile|
File.open(ARGV[1], 'w') do |outfile|
outfile.write(infile.read)
end
end
File.open(ARGV.first) { |i| File.open(ARGV[1], 'w') { |o| o.write(i.read) }}

Loading…
Cancel
Save