Method: LessonsIndexer::Course#load_headings!
- Defined in:
- lib/lessons_indexer/course.rb
#load_headings! ⇒ Object
50 51 52 53 54 |
# File 'lib/lessons_indexer/course.rb', line 50 def load_headings! within(dir + '/' + headings_dir, true) do @headings = HeadingsList.new(all_with_pattern(Heading::VERSION_PATTERN).map {|heading| Heading.new(heading)}) end end |