summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/cfvos.rb
blob: 3c41953a5047bc9b4679d86747e2ed5d9d1d5bbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Axlsx
  # A collection of Cfvo objects that initializes with the required
  # first two items
  class Cfvos < SimpleTypedList
    def initialize
      super(Cfvo)
    end

    # Serialize the Cfvo object
    # @param [String] str
    # @return [String]
    def to_xml_string(str = +'')
      each { |cfvo| cfvo.to_xml_string(str) }
    end
  end
end