Class: Pekky::Directory

Inherits:
Object
  • Object
show all
Defined in:
lib/pekky/pages.rb

Overview

The directory class is used to act as a parent for pages which don’t have an actual direct parent i.e. /posts/* don’t have a corresponding /posts/index.html

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Directory

Returns a new instance of Directory.



107
108
109
# File 'lib/pekky/pages.rb', line 107

def initialize(path)
  @path = path
end

Instance Method Details

#renderObject



111
112
# File 'lib/pekky/pages.rb', line 111

def render
end