lib/iso_bib_item/person.rb in iso-bib-item-0.1.8 vs lib/iso_bib_item/person.rb in iso-bib-item-0.1.9

- old
+ new

@@ -93,13 +93,15 @@ @name = name @affilation = affilation @identifiers = [] end + # @param builder [Nokogiri::XML::Builder] def to_xml(builder) builder.person do name.to_xml builder affilation.each { |a| a.to_xml builder } + contacts.each { |contact| contact.to_xml builder } end end end end