lib/yaml-cv.rb in yaml-cv-0.1.0 vs lib/yaml-cv.rb in yaml-cv-0.1.1
- old
+ new
@@ -62,9 +62,13 @@
def technical
@cv["technical"]
end
def sections
+ if !@cv["sections"]
+ return
+ end
+
@cv["sections"].map { |s|
s["items"] = format_subsections s["items"]
s
}
end
\ No newline at end of file