module OoxmlParser::PresentationHelpers

method to help to work with Presentation

Public Instance Methods

with_data?() click to toggle source

@return [True, false] if structure contain any user data

# File lib/ooxml_parser/pptx_parser/presentation/presentation_helpers.rb, line 7
def with_data?
  return true if @slides.length > 1

  @slides.each do |current_slide|
    return true if current_slide.with_data?
  end
  false
end