lib/hyde/renderer.rb in hydeweb-0.0.1.pre1 vs lib/hyde/renderer.rb in hydeweb-0.0.1.pre2

- old
+ new

@@ -1,14 +1,16 @@ require "ostruct" module Hyde module Renderer class Base - attr_reader :meta + # Reference to {Page} attr_reader :page - def initialize( page, filename ) - @meta = {} + # The filename of the file to be parsed + attr_reader :filename + + def initialize(page, filename) @page = page @filename = filename end def render( data = {} )