Method: DocTemplate::Tables::Activity#process_title

Defined in:
lib/doc_template/tables/activity.rb

#process_title(data) ⇒ Object



41
42
43
44
45
46
47
48
# File 'lib/doc_template/tables/activity.rb', line 41

def process_title(data)
  # Allows to handle ELA as Math:
  # - inject `section-title` to link to fake section
  # - substitute activity title
  data['section-title'] ||= Tables::Section::FAKE_SECTION_TITLE
  data['activity-title'] ||= data['number']
  data
end