# File lib/icalendar/rrule.rb, line 85 def parse_int_val(name, string) match = string.match(/;#{name}=(\d+)(;|$)/) match ? match[1].to_i : nil end