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.



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

def initialize( slide )
  @slide = slide
end

Instance Method Details

#classesObject



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

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

#contentObject



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

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

#content_without_headerObject



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

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

#data_attributesObject



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

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

#headerObject



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

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