Class: CocinaDisplay::Subjects::TitleSubjectValue
- Inherits:
-
SubjectValue
- Object
- SubjectValue
- CocinaDisplay::Subjects::TitleSubjectValue
- Defined in:
- lib/cocina_display/subjects/subject_value.rb
Overview
A subject value representing an entity with a title.
Instance Attribute Summary
Attributes inherited from SubjectValue
Instance Method Summary collapse
-
#display_str ⇒ String
Construct a title string to use for display.
Methods inherited from SubjectValue
atomic_types, from_cocina, #initialize
Constructor Details
This class inherits a constructor from CocinaDisplay::Subjects::SubjectValue
Instance Method Details
#display_str ⇒ String
Note:
Unclear how often structured title subjects occur “in the wild”.
Construct a title string to use for display.
72 73 74 |
# File 'lib/cocina_display/subjects/subject_value.rb', line 72 def display_str TitleBuilder.build([cocina]) end |