diff --git a/lib/rocco/layout.rb b/lib/rocco/layout.rb index fa2b44c..5a9e988 100644 --- a/lib/rocco/layout.rb +++ b/lib/rocco/layout.rb @@ -15,6 +15,10 @@ class Rocco::Layout < Mustache File.basename(@doc.file) end + def file + @doc.file + end + def sections num = 0 @doc.sections.map do |docs,code|