Method: Chapter#chapter_id

Defined in:
lib/chapter.rb

#chapter_idObject



41
42
43
# File 'lib/chapter.rb', line 41

def chapter_id
  @book_id ||= file_name.gsub(/\W/,'_').gsub('.html', '')
end