Class: DocTemplate::Objects::SectionsMetadata::Section

Inherits:
Object
  • Object
show all
Includes:
MetadataHelpers
Defined in:
lib/doc_template/objects/sections_metadata.rb

Constant Summary

Constants included from MetadataHelpers

MetadataHelpers::SEPARATOR

Instance Method Summary collapse

Methods included from MetadataHelpers

build_anchor_from, #standard_info

Instance Method Details

#add_activity(activity) ⇒ Object



27
28
29
30
31
# File 'lib/doc_template/objects/sections_metadata.rb', line 27

def add_activity(activity)
  self.time += activity.time.to_i
  activity.handled = true
  children << activity
end

#section_standard_infoObject



33
34
35
# File 'lib/doc_template/objects/sections_metadata.rb', line 33

def section_standard_info
  standard_info lesson_standard
end