Module: HS::ChapterLoader
- Includes:
- ElementLoader, XMLParser
- Included in:
- Chapter
- Defined in:
- lib/hs/loaders/chapter_loader.rb
Constant Summary collapse
- CUSTOM_LOADERS =
%i[title intro modules].freeze
Instance Method Summary collapse
Methods included from ElementLoader
Methods included from XMLParser
Instance Method Details
#load_chapter(course, xml, &block) ⇒ Object
13 14 15 |
# File 'lib/hs/loaders/chapter_loader.rb', line 13 def load_chapter(course, xml, &block) create_chapter(course, parse_xml(xml), &block) end |