ex17 extra credit #3 yet more
This commit is contained in:
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…
Reference in New Issue
Block a user