From: Joyce Lima Date: 2011-03-10T11:55:51+09:00 Subject: delete one line of file I'm doing one work school, sorry don't write english very good, I'm brasilian. I want delete only one line of File. I have two files and have to handle them according with data received by users in case some have Students enrolled in the following way name! id: registration. The user enters the id of the student, I have to search the file and delete the row for that id. Since there I found nothing specific files I'm using delete_if, look at the code, I'll attach it. Attachments: http://www.ruby-forum.com/attachment/6016/bd.rb -- Posted via http://www.ruby-forum.com/.