Class: Pubid::Nist::Identifiers::SpecialPublication
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Identifier
- Base
- Pubid::Nist::Identifiers::SpecialPublication
- Defined in:
- lib/pubid/nist/identifiers/special_publication.rb
Overview
NIST Special Publication (SP) Examples:
-
“NIST SP 800-53” = Special Publication 800-53
-
“NIST SP 800-53r5” = Special Publication 800-53 revision 5
-
“NIST SP 800-57pt1r4” = Special Publication 800-57 part 1 revision 4
Constant Summary collapse
- TYPED_STAGES =
[ Pubid::Components::TypedStage.new( abbr: ["SP", "NIST SP", "NBS SP"], # Compound series stage_code: "published", type_code: "sp", ), ].freeze
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#edition_greater?, #extract_edition_number, #initialize, #language, #merge, #publisher, #revision, #to_s, #translation, #weight
Methods inherited from Identifier
#base_identifier, #eql?, #exclude, #hash, #initialize, #mr_number, #mr_number_with_part, #mr_part, #mr_publisher, #mr_type, #mr_year, #new_edition_of?, polymorphic_name, #render, #resolve_urn_generator, #root, #to_mr_string, #to_s, #to_supplement_s, #to_urn, #urn_supplement_type, #urn_type_code
Constructor Details
This class inherits a constructor from Pubid::Nist::Identifiers::Base
Class Method Details
.type ⇒ Object
25 26 27 |
# File 'lib/pubid/nist/identifiers/special_publication.rb', line 25 def type { key: :sp, title: "NIST Special Publication", short: "SP" } end |
.typed_stages ⇒ Object
21 22 23 |
# File 'lib/pubid/nist/identifiers/special_publication.rb', line 21 def typed_stages TYPED_STAGES end |
Instance Method Details
#series_code ⇒ Object
30 31 32 |
# File 'lib/pubid/nist/identifiers/special_publication.rb', line 30 def series_code "SP" end |