Class: Pubid::Jis::Identifiers::Amendment

Inherits:
SupplementIdentifier show all
Defined in:
lib/pubid/jis/identifiers/amendment.rb

Overview

Amendment identifier type Format: base/AMD number:year Example: JIS A 0001:1999/AMD 1:2000

Instance Method Summary collapse

Methods inherited from SupplementIdentifier

#==, #code, #initialize, #to_s

Methods inherited from Base

#==, #all_parts?, #code, #initialize, #publisher, #to_s

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::Jis::SupplementIdentifier

Instance Method Details

#supplement_notationObject



10
11
12
# File 'lib/pubid/jis/identifiers/amendment.rb', line 10

def supplement_notation
  "AMD #{number}:#{year}"
end