Method: Mods::Date#type
- Defined in:
- lib/mods/date.rb
#type ⇒ String
The declared type of date (from the MODS @type attribute)
358 359 360 361 362 |
# File 'lib/mods/date.rb', line 358 def type return if xml.attr(:type)&.empty? xml.attr(:type)&.downcase end |