parse (Icalendar::Parser)

    # File lib/icalendar/parser.rb, line 186
        def parse
          calendars = []

          @@logger.debug "parsing..."
          # Outer loop for Calendar objects
          while (line = next_line)
            fields = parse_line(line)

            # Just iterate through until we find the beginning of a calendar object
            if fields[:name] == "BEGIN" and fields[:value] == "VCALENDAR"
              cal = parse_component
              @@logger.debug "Added parsed calendar..."
              calendars << cal
            end
          end

          calendars
        end