Class: CheesyGallery::GalleryIndex
- Inherits:
-
Jekyll::Document
- Object
- Jekyll::Document
- CheesyGallery::GalleryIndex
- Defined in:
- lib/cheesy-gallery/gallery_index.rb
Overview
This Document subclass is used to stand in for gallery indices which do not have a ‘index.html`
Constant Summary collapse
- DEFAULT_CONTENT =
"This page intentionally left plank.\n"
Instance Method Summary collapse
-
#read_content(_opts = nil) ⇒ Object
skip reading content, as there is by definition no backing file for this.
Instance Method Details
#read_content(_opts = nil) ⇒ Object
skip reading content, as there is by definition no backing file for this
8 9 10 |
# File 'lib/cheesy-gallery/gallery_index.rb', line 8 def read_content(_opts = nil) self.content = DEFAULT_CONTENT end |