module RevealCK # # Public: A SlideBuilder knows how to build the index.html file (the # core slides) within a reveal.js presentation. # class SlideBuilder < Builder attr_reader :user_slides, :reveal_slides attr_reader :tasks attr_reader :config def initialize(args) @user_slides = args[:user_slides] @reveal_slides = args[:reveal_slides] @config = args[:config] end private def register_tasks @tasks = [] add_task "Slicing out reveal.js default slides", lambda { line_nums = { default_slides: { first: 38, # Line where I see