test
This commit is contained in:
parent
6b800842c4
commit
162f964909
|
@ -86,9 +86,9 @@ begin
|
||||||
@file_text.insert(insert_index,change_html_new+"\n")
|
@file_text.insert(insert_index,change_html_new+"\n")
|
||||||
@f.write(@file_text)
|
@f.write(@file_text)
|
||||||
end
|
end
|
||||||
puts @f.methods
|
|
||||||
@f.close
|
@f.close
|
||||||
puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/"
|
puts "finish change application_helper.rb in #{ENV['PWD']}/app/helpers/"
|
||||||
|
puts @f.closed?
|
||||||
rescue => e
|
rescue => e
|
||||||
puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb"
|
puts "Permission denied in #{ENV['PWD']}/app/helpers/application_helper.rb"
|
||||||
@f.close
|
@f.close
|
||||||
|
|
Loading…
Reference in New Issue