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.
|
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.scan(/http[^\s]*/)
|
|
return url
|
|
end
|
|
end
|
|
|
|
class TestLink
|
|
|
|
end |