Class: Pubid::Astm::SingleIdentifier

Inherits:
Identifier
  • Object
show all
Defined in:
lib/pubid/astm/single_identifier.rb

Overview

Descends from Pubid::Astm::Identifier (the flavor base) so every concrete ASTM identifier is is_a?(Pubid::Astm::Identifier).

Direct Known Subclasses

Identifiers::Adjunct, Identifiers::Base

Instance Method Summary collapse

Methods inherited from Identifier

parse

Instance Method Details

#publisherString

Generate URN for this identifier

Returns:

  • (String)

    URN representation



11
# File 'lib/pubid/astm/single_identifier.rb', line 11

attribute :publisher, :string, default: -> { "ASTM" }