class IsoBibItem::PersonIdentifier

Person identifier.

Attributes

type[RW]

@return [PersonIdentifierType]

value[RW]

@return [String]

Public Class Methods

new(type, value) click to toggle source
# File lib/iso_bib_item/person.rb, line 72
def initialize(type, value)
  @type  = type
  @value = value
end

Public Instance Methods

to_xml(builder) click to toggle source
# File lib/iso_bib_item/person.rb, line 77
def to_xml(builder)
  builder.identifier value, type: type
end