Class: Pubid::Iso::Identifier::Extract
- Defined in:
- lib/pubid/iso/identifier/extract.rb
Constant Summary collapse
- TYPED_STAGES =
{}.freeze
Instance Attribute Summary
Attributes inherited from Base
#addendum, #base, #dirtype, #iteration, #joint_document, #jtc_dir, #month, #scnumber, #sctype, #stage, #supplements, #tcnumber, #tctype, #wgnumber, #wgtype
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
get_amendment_class, get_corrigendum_class, get_identifier, get_parser_class, get_transformer_class, get_update_codes, #initialize, #render_joint_document, #resolve_format, #root, supplement_by_type, supplements_has_type?, #to_s, transform, transform_supplements, type_match?
Constructor Details
This class inherits a constructor from Pubid::Iso::Identifier::Base
Class Method Details
.get_renderer_class ⇒ Object
15 16 17 |
# File 'lib/pubid/iso/identifier/extract.rb', line 15 def self.get_renderer_class Renderer::Extract end |
.type ⇒ Object
11 12 13 |
# File 'lib/pubid/iso/identifier/extract.rb', line 11 def self.type { key: :ext, title: "Extract", short: "EXT" } end |
Instance Method Details
#urn ⇒ Object
19 20 21 |
# File 'lib/pubid/iso/identifier/extract.rb', line 19 def urn Renderer::UrnExtract.new(to_h(deep: false)).render end |