Class: Pubid::W3c::Identifiers::WorkingDraft
- Inherits:
-
Pubid::W3c::Identifier
- Object
- Lutaml::Model::Serializable
- Identifier
- Pubid::W3c::Identifier
- Pubid::W3c::Identifiers::WorkingDraft
- Defined in:
- lib/pubid/w3c/identifiers/working_draft.rb
Overview
W3C Working Draft. Printed token: "WD". Example: "W3C WD-charmod-19991129".
Constant Summary collapse
- TYPED_STAGES =
[ Pubid::Components::TypedStage.new( code: :wd, stage_code: :working_draft, type_code: :wd, abbr: ["WD"], name: "Working Draft", harmonized_stages: [], ), ].freeze
Constants inherited from Pubid::W3c::Identifier
Pubid::W3c::Identifier::PUBLISHER, Pubid::W3c::Identifier::W3C_TYPE_MAP
Instance Attribute Summary
Attributes inherited from Pubid::W3c::Identifier
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Pubid::W3c::Identifier
Methods inherited from Identifier
apply_mappings, #base, #base_document, concrete_class_for, #dated_version_of?, #draft_of?, #drop_supplements, #edition_of?, #eql?, #exclude, from_hash, #has_supplement?, #hash, #includes?, #initialize, #matches?, #mr_all_parts, #mr_edition, #mr_languages, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_subpart, #mr_supplement_suffix, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, polymorphic_type_map, #related_to?, #render, #resolve_urn_generator, #root, #sibling_of?, #supplement_of?, #to_hash, #to_mr_string, #to_s, #to_slug, #to_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code, #year
Constructor Details
This class inherits a constructor from Pubid::Identifier
Class Method Details
.type ⇒ Object
20 21 22 |
# File 'lib/pubid/w3c/identifiers/working_draft.rb', line 20 def self.type { key: :wd, web: :working_draft, title: "Working Draft", short: "WD" } end |
Instance Method Details
#type_prefix ⇒ Object
24 25 26 |
# File 'lib/pubid/w3c/identifiers/working_draft.rb', line 24 def type_prefix "WD" end |