lib/reveal-ck/builders/slides_builder.rb in reveal-ck-3.2.0 vs lib/reveal-ck/builders/slides_builder.rb in reveal-ck-3.3.0
- old
+ new
@@ -15,10 +15,10 @@
@gem_dir = retrieve(:gem_dir, args)
@reveal_js_dir = File.join(gem_dir, 'files', 'reveal.js')
@output_dir = retrieve(:output_dir, args)
@slides_file = retrieve(:slides_file, args)
@application = Rake::Application.new
- @config = Config.new
+ @config = args[:config] || Config.new
@things_to_create = Set.new
end
def build
application['slides_builder'].invoke