class Pppt::PresentationPages

Attributes

data[R]
size[R]

Public Class Methods

new(pages) click to toggle source
# File lib/pppt/presentation_pages.rb, line 3
def initialize(pages)
  @data = pages
  i = 0
  pages.each { |x| x['page'] = i += 1 unless x['action'] }
  @size = i
end