lib/infuse/infuse_dsl.rb in n3bulous-infuse-0.9.6 vs lib/infuse/infuse_dsl.rb in n3bulous-infuse-0.9.7
- old
+ new
@@ -2,16 +2,17 @@
require 'singleton'
class InfuseDSL
include Singleton
- # Specified
- attr_accessor :slides, :title, :author, :company, :copyright, :subtitle, :background, :format, :transition
+ attr_accessor :slides, :title, :author, :company, :copyright, :subtitle
+ attr_accessor :background, :format, :transition
# Derived
attr_accessor :source_file, :output_dir
def initialize
@slides = []
+ @title = @author = @company = @copyright = @subtitle = @background = @format = @transition = ""
@template_dir = File.dirname(__FILE__) + "/themes/plain/"
@operashow_templates = {
:header => "operashow-header.html.erb",
:footer => "operashow-footer.html.erb",