Class: Pubid::Sae::Components::Date

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/pubid/sae/components/date.rb

Overview

Date component for SAE standards SAE uses year only (e.g., 2024, 2022)

Instance Method Summary collapse

Instance Method Details

#to_sObject



13
14
15
# File 'lib/pubid/sae/components/date.rb', line 13

def to_s
  year.to_s
end