class Rabbit::Slide
Public Class Methods
new()
click to toggle source
# File lib/rabbit/slide.rb, line 24 def initialize @pages = [] end
Public Instance Methods
<<(page)
click to toggle source
# File lib/rabbit/slide.rb, line 28 def <<(page) @pages << page end
each(&block)
click to toggle source
# File lib/rabbit/slide.rb, line 36 def each(&block) @pages.each(&block) end
size()
click to toggle source
# File lib/rabbit/slide.rb, line 32 def size @pages.size end