module ResumeTools::Renderer::JSONHelpers::PeriodMethods

Public Instance Methods

json_frame() click to toggle source
# 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