Module: ResumeTools::Renderer::JSONHelpers::PeriodMethods

Defined in:
lib/resumetools/resume/json.rb

Instance Method Summary collapse

Instance Method Details

#json_frameObject


41
42
43
44
45
46
47
48
49
50
# File 'lib/resumetools/resume/json.rb', line 41

def json_frame
  frame = {
    :title => self.title,
    :location => self.location,
    :organization => self.organization,
    :dtstart => self.dtstart,
    :dtend => self.dtend,
    :items => self.items.map { |item| item.json_frame }
  }
end