# Abuser iterator to read a file, see `file_open`
private class ReadFileForAbuserIterator
super Iterator[FileReader]
var path: String
redef var item: FileReader is noinit
redef var is_ok = true
init
do
# start of service is to open the file, and return in
item = new FileReader.open(path)
end
redef fun next
do
# end of service is to close the file
# there is only one iteration
is_ok = false
item.close
end
end
lib/for_abuse/for_abuse.nit:46,1--64,3