Class: Pubid::Ieee::Identifiers::Nesc::Handbook
- Inherits:
-
Base
- Object
- Lutaml::Model::Serializable
- Base
- Pubid::Ieee::Identifiers::Nesc::Handbook
- Defined in:
- lib/pubid/ieee/identifiers/nesc/handbook.rb
Overview
NESC Handbook identifier
Represents NESC Handbook publications which provide comprehensive guidance and interpretation of the National Electrical Safety Code.
Instance Method Summary collapse
-
#to_s ⇒ String
Render handbook identifier.
Methods inherited from Base
Instance Method Details
#to_s ⇒ String
Render handbook identifier
23 24 25 26 27 |
# File 'lib/pubid/ieee/identifiers/nesc/handbook.rb', line 23 def to_s parts = ["#{year.year} NESC Handbook"] parts << ", #{edition}" if edition parts.join end |