This commit is contained in:
BOHUNG 2020-04-01 17:44:24 +08:00
parent 6b800842c4
commit 162f964909
1 changed files with 1 additions and 1 deletions

View File

@ -86,9 +86,9 @@ begin
@file_text.insert(insert_index,change_html_new+"\n")
@f.write(@file_text)
end
puts @f.methods
@f.close
puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/"
puts @f.closed?
rescue => e
puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb"
@f.close