Skip to content

Instantly share code, notes, and snippets.

@eka
Created May 27, 2014 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eka/00fa26d56676be5b75c0 to your computer and use it in GitHub Desktop.
Save eka/00fa26d56676be5b75c0 to your computer and use it in GitHub Desktop.
require 'open-uri'
buf = open("https://raw.githubusercontent.com/libgdx/libgdx/master/CHANGES").read
md = buf.scan /\[(?<version>.+)\]/
puts md[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment