Class: Pekky::Directory
- Inherits:
-
Object
- Object
- Pekky::Directory
- 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
-
#initialize(path) ⇒ Directory
constructor
A new instance of Directory.
- #render ⇒ Object
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
#render ⇒ Object
111 112 |
# File 'lib/pekky/pages.rb', line 111 def render end |