Class: Pubid::Iec::Identifier::Guide
- Defined in:
- lib/pubid/iec/identifier/guide.rb
Constant Summary collapse
- TYPED_STAGES =
{ dguide: { abbr: "DGuide", name: "Draft Guide", harmonized_stages: %w[40.00 40.20 40.60 40.92 40.98 40.99], }, fdguide: { abbr: "FDGuide", name: "Final Draft Guide", harmonized_stages: %w[50.00 50.20 50.60 50.92 50.98 50.99], } }.freeze
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#conjuction_part, #database, #day, #decision_sheet, #fragment, #month, #part_version, #test_type, #trf_publisher, #trf_series, #trf_version, #vap, #version
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
get_amendment_class, get_corrigendum_class, get_identifier, get_parser_class, get_renderer_class, get_transformer_class, get_update_codes, has_project_stage?, has_type?, #initialize, #lookup_typed_stage, #renderer_data, resolve_project_stage, #to_s, transform, transform_hash, #urn
Constructor Details
This class inherits a constructor from Pubid::Iec::Base
Class Method Details
.type ⇒ Object
19 20 21 |
# File 'lib/pubid/iec/identifier/guide.rb', line 19 def self.type { key: :guide, title: "Guide", short: %w[Guide GUIDE] } end |
Instance Method Details
#to_h(deep: false) ⇒ Object
23 24 25 |
# File 'lib/pubid/iec/identifier/guide.rb', line 23 def to_h(deep: false) super.merge(type: "Guide") end |