Class: Pubid::Ieee::Identifiers::CsaDualPublished

Inherits:
Base
  • Object
show all
Defined in:
lib/pubid/ieee/identifiers/csa_dual_published.rb

Overview

CSA dual published identifier Represents IEEE/CSA dual published standards Example: IEEE Std 844.1-2017/CSA C22.2 No. 293.1-17

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#csa_identifierObject

CSA identifier is stored as-is (not a Lutaml model type)



12
13
14
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 12

def csa_identifier
  @csa_identifier
end

Class Method Details

.parse(string) ⇒ Object



35
36
37
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 35

def self.parse(string)
  Base.parse(string)
end

Instance Method Details

#codeObject



23
24
25
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 23

def code
  ieee_identifier.code
end

#copublisherObject



19
20
21
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 19

def copublisher
  ieee_identifier.copublisher
end

#publisherObject

Delegate common attributes to ieee_identifier



15
16
17
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 15

def publisher
  ieee_identifier.publisher
end

#typed_stageObject



31
32
33
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 31

def typed_stage
  ieee_identifier.typed_stage
end

#yearObject



27
28
29
# File 'lib/pubid/ieee/identifiers/csa_dual_published.rb', line 27

def year
  ieee_identifier.year
end