Class: Pubid::Sae::Components::Date
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Pubid::Sae::Components::Date
- 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_s ⇒ Object
13 14 15 |
# File 'lib/pubid/sae/components/date.rb', line 13 def to_s year.to_s end |