Class: Pubid::Ashrae::SupplementIdentifier

Inherits:
Identifier show all
Defined in:
lib/pubid/ashrae/supplement_identifier.rb

Overview

Base class for supplement identifiers (addendums, errata, interpretations) Supplements modify or add to a base document

Instance Method Summary collapse

Methods inherited from Identifier

#exclude, parse

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

Instance Method Details

#codeObject

Delegate code to base



18
19
20
# File 'lib/pubid/ashrae/supplement_identifier.rb', line 18

def code
  base&.code
end

#publisherObject

Delegate publisher to base



13
14
15
# File 'lib/pubid/ashrae/supplement_identifier.rb', line 13

def publisher
  base&.publisher
end