Using the iCalendar gem

require 'icalendar'
require 'open-uri'

url = 'https://www.gov.uk/bank-holidays/scotland.ics'
buffer = open(url, 'UserAgent' => 'Ruby ICS reader'){|x| x.read}
cals = Icalendar.parse(buffer)

cals[0].events[0].summary
#=> "2nd January"

Tags:
Source:
1431hrs.txt
Published:
05-01-2014 14:31