lib/parade/section.rb in parade-0.9.1 vs lib/parade/section.rb in parade-0.9.2
- old
+ new
@@ -152,9 +152,13 @@
def add_resource(resource_filepath)
@resources ||= []
@resources << resource_filepath
end
+ # Allows for the scene to have a theme defined for it.
+ # @note this is only respected by the top-level scene in the presentation
+ attr_accessor :theme
+
# @return [Array<Slide>] the slides contained within this section and any
# sub-section.
def slides
sections_slides = sections.map do |section_or_slide|
section_or_slide.slides
\ No newline at end of file