Class: Pubid::Sae::Components::Type

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

Overview

Type component for SAE document types AMS, AIR, ARP, AS, MA

Instance Method Summary collapse

Instance Method Details

#render(context: nil) ⇒ Object



17
18
19
# File 'lib/pubid/sae/components/type.rb', line 17

def render(context: nil)
  abbr.to_s
end

#to_sObject



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

def to_s
  render
end