class MultiformatCV::Personal

Attributes

projects[RW]

List of personal projects @return [Array<MultiformatCV::Project>]

summary[RW]

Public Class Methods

new(h = {}) click to toggle source

Create Personal information instance

Example:

personal = MultiformatCV::Personal.new(summary: 'Volunteer at...', projects: [])

@param [Hash] h Instance initializer; keys MUST be strings @option h [String] 'summary' @option h [Array<Hash>] 'projects' List of hashes that will be used to

initialize new MultiformatCV::Porject entries

@see MultiformatCV::Project

# File lib/multiformatcv/personal.rb, line 20
def initialize(h = {})
  @summary = h['summary']
  @projects = []

  h['projects'].each { |p| @projects << MultiformatCV::Project.new(p) }
end