lib/iso_bib_item/series.rb
def to_xml(builder)
      builder.series type: type do
        builder.title { title.to_xml builder } if title
        builder.place place if place
        builder.organization organization if organization
        builder.abbreviation { abbreviation.to_xml builder } if abbreviation
        builder.from from if from
        builder.to to if to
        builder.number number if number
        builder.part_number part_number if part_number
      end
    end
def to_xml(builder)
      builder.series type: type do
        builder.title { title.to_xml builder } if title
        builder.place place if place
        builder.organization organization if organization
        builder.abbreviation { abbreviation.to_xml builder } if abbreviation
        builder.from from if from
        builder.to to if to
        builder.number number if number
        builder.part_number part_number if part_number
      end
    end
def to_xml ( builder ) builder . series type : type do builder . title { title . to_xml builder } if title builder . place place if place builder . organization organization if organization builder . abbreviation { abbreviation . to_xml builder } if abbreviation builder . from from if from builder . to to if to builder . number number if number builder . part_number part_number if part_number end end
rubocop:disable Metrics/AbcSize, Metrics/MethodLength
 @param [Hash] **args <description>
 rubocop:enable Metrics/MethodLength
 rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
 @param builder [Nokogiri::XML::Builder]
rubocop : disable Metrics / AbcSize Metrics / MethodLength