lib/review/catalog.rb in review-1.3.0 vs lib/review/catalog.rb in review-1.4.0
- old
+ new
@@ -37,9 +37,14 @@
def parts_with_chaps
return "" unless @yaml["CHAPS"]
@yaml["CHAPS"].flatten.reject{|entry| entry.nil?}
end
+ def appendix
+ return "" unless @yaml["APPENDIX"]
+ @yaml["APPENDIX"].join("\n")
+ end
+
def postdef
return "" unless @yaml["POSTDEF"]
@yaml["POSTDEF"].join("\n")
end
end