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

20 lines
252 B
Ruby

class ReadFile
def initialize(pFic)
@fic = File.open(pFic, "r")
end
def getALL
all = @fic.read
return all
end
def getUrls
txt = self.getALL
url = txt.match /http[^\s]*/
return url
end
end
class TestLink
end