print_parameters (Icalendar::Component)

    # File lib/icalendar/component.rb, line 172
        def print_parameters(val)
          s = ""
          return s unless val.respond_to?(:ical_params) and not val.ical_params.nil?

          val.ical_params.each do |key,val|
            s << ";#{key}"
            val = [ val ] unless val.is_a?(Array)

            # Possible parameter values
            unless val.empty?
              s << "="
              sep = "" # First entry comes after = sign, but then we need commas
              val.each do |pval|
                if pval.respond_to? :to_ical
                  s << sep << pval.to_ical
                  sep = ","
                end
              end
            end
          end
          s
        end