S
Srinath A.
How to append static text for all files in application .
I want to append comment lines on top of each file in app/controllers/
how can iterate and append in the app ?
I used this for single file :
filename = File.open("application.rb","a") do |f|
f.puts "append to file";
f.close();
end
thanks !!
I want to append comment lines on top of each file in app/controllers/
how can iterate and append in the app ?
I used this for single file :
filename = File.open("application.rb","a") do |f|
f.puts "append to file";
f.close();
end
thanks !!