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
Quentin 119cb1a977 modified: README.md
modified:   c/ff
	modified:   c/main.rb
	modified:   m/ReadFile.rb
2013-12-18 10:41:37 +01:00

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