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

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

Instance Method Summary collapse

Instance Method Details

#json_frameObject



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

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