ocaml: implement get_latest_version

pull/1356/head
Simon Legner 4 years ago
parent 655a0d93d8
commit 6d629056a1

@ -26,5 +26,10 @@ module Docs
© INRIA 1995-2020.
HTML
def get_latest_version(opts)
doc = fetch_doc('https://www.ocaml.org/releases/', opts)
doc.css('#main-contents li > a').first.content
end
end
end

Loading…
Cancel
Save