Class: Pubid::Plateau::Identifiers::Handbook
- Defined in:
- lib/pubid/plateau/identifiers/handbook.rb
Overview
PLATEAU Handbook Format: PLATEAU Handbook #NN [第X.Y版] Example: PLATEAU Handbook #00 第1.0版
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
20 21 22 23 24 |
# File 'lib/pubid/plateau/identifiers/handbook.rb', line 20 def ==(other) return false unless other.is_a?(Handbook) super && edition == other.edition end |
#formatted_edition ⇒ Object
16 17 18 |
# File 'lib/pubid/plateau/identifiers/handbook.rb', line 16 def formatted_edition "第#{edition}版" end |
#type_string ⇒ Object
12 13 14 |
# File 'lib/pubid/plateau/identifiers/handbook.rb', line 12 def type_string "Handbook" end |