Sha256: 3b7f463eadd3d9abd03dae804f70867db14e1fa547cb1d8d26f831aec864e2af
Contents?: true
Size: 650 Bytes
Versions: 2
Compression:
Stored size: 650 Bytes
Contents
module RelatonBib # Version class BibliographicItem class Version # @return [String] attr_reader :revision_date # @return [Array<String>] attr_reader :draft # @param revision_date [String] # @param draft [Array<String>] def initialize(revision_date = nil, draft = []) @revision_date = revision_date @draft = draft end # @param builder [Nokogiri::XML::Builder] def to_xml(builder) builder.version do builder.revision_date revision_date if revision_date draft.each { |d| builder.draft d } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
relaton-bib-0.3.3 | lib/relaton_bib/biblio_version.rb |
relaton-bib-0.3.2 | lib/relaton_bib/biblio_version.rb |