Class: Pubid::Iec::Identifier::ComponentSpecification
- Inherits:
-
Base
- Object
- Core::Identifier::Base
- Base
- Pubid::Iec::Identifier::ComponentSpecification
- Defined in:
- lib/pubid/iec/identifier/component_specification.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#conjuction_part, #database, #day, #decision_sheet, #fragment, #month, #part_version, #sheet, #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
6 7 8 |
# File 'lib/pubid/iec/identifier/component_specification.rb', line 6 def self.type { key: :cs, title: "Component Specification", short: "CS" } end |
Instance Method Details
#to_h(deep: false) ⇒ Object
10 11 12 |
# File 'lib/pubid/iec/identifier/component_specification.rb', line 10 def to_h(deep: false) super.merge(type: "CS") end |