diff options
-rw-r--r-- | page.rb | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -64,6 +64,8 @@ class Page end end + private + def parseConfig(configFile) if (File.exist?(configFile)) config = YAML.load_file(configFile) @@ -84,6 +86,12 @@ class Page end end + def renderContent + return @content&.strip || @content + end + + protected + attr_writer :fileName attr_writer :title attr_writer :pageNames |