Class: Slideshow::SlideDrop

Inherits:
Liquid::Drop
  • Object
show all
Defined in:
lib/slideshow/drops.rb

Instance Method Summary collapse

Constructor Details

#initialize(slide) ⇒ SlideDrop

Returns a new instance of SlideDrop.



23
24
25
# File 'lib/slideshow/drops.rb', line 23

def initialize( slide )
  @slide = slide
end

Instance Method Details

#classesObject



30
# File 'lib/slideshow/drops.rb', line 30

def classes()                 puts "  call SlideDrop#classes";             @slide.classes; end

#contentObject



27
# File 'lib/slideshow/drops.rb', line 27

def content()                 puts "  call SlideDrop#content";             @slide.content; end

#content_without_headerObject



28
# File 'lib/slideshow/drops.rb', line 28

def content_without_header()  puts "  call SlideDrop#content_w/o_header";  @slide.content_without_header;  end

#data_attributesObject



31
# File 'lib/slideshow/drops.rb', line 31

def data_attributes()         puts "  call SlideDrop#data_attributes";     @slide.data_attributes; end

#headerObject



29
# File 'lib/slideshow/drops.rb', line 29

def header()                  puts "  call SlideDrop#header";              @slide.header; end