lib/isodoc/iso/metadata.rb in metanorma-iso-1.2.2 vs lib/isodoc/iso/metadata.rb in metanorma-iso-1.2.3
- old
+ new
@@ -28,10 +28,10 @@
"95": "(Withdrawal)",
}.freeze
def stage_abbrev(stage, substage, iter, draft)
return "" unless stage
- stage = STAGE_ABBRS[stage.to_sym] || "??"
+ stage = self.class::STAGE_ABBRS[stage.to_sym] || "??"
stage = "PRF" if stage == "IS" && substage == "00"
stage += iter if iter
stage = "Pre" + stage if draft =~ /^0\./
stage
end