Class: RageRender::MultiImageDrop

Inherits:
ImageDrop
  • Object
show all
Defined in:
lib/ragerender/jekyll/image.rb

Instance Method Summary collapse

Methods inherited from ImageDrop

#imageurl, #initialize

Methods included from Pipettes

clean_payload, #def_data_delegator, #def_image_metadata, #def_loop, #def_pages, #def_safe_delegator, extended, #loops, #own_methods

Constructor Details

This class inherits a constructor from RageRender::ImageDrop

Instance Method Details

#htmlObject



70
71
72
73
74
75
76
# File 'lib/ragerender/jekyll/image.rb', line 70

def html
  <<~HTML
    <div class="segmentcontainer">
      #{super}
    </div>
  HTML
end

#imageonlyhtmlObject



62
63
64
65
66
67
68
# File 'lib/ragerender/jekyll/image.rb', line 62

def imageonlyhtml
  <<~HTML
    <img src="#{imageurl}" alt="#{comictitle}"
         width="#{width}" height="#{height}"
         title="#{comicdescription}" class="comicsegmentimage">
  HTML
end