This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
DUT2Curling/m/ReadFile.rb

19 lines
249 B
Ruby

class ReadFile
def initialize(pFic)
@fic = File.open(pFic, "r")
end
def getLines
i=0
tabLines = []
@fic.each_line { |ligne|
tabLines[i] = ligne
i = i + 1
}
return tabLines
end
end
class TestLink
end