Module: CurationConcerns::Serializers
- Included in:
- FileSetBehavior, WorkBehavior
- Defined in:
- app/models/concerns/curation_concerns/serializers.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/models/concerns/curation_concerns/serializers.rb', line 3 def to_s if title.present? title.join(' | ') elsif label.present? label else 'No Title' end end |