diff --git a/lib/rocco/layout.rb b/lib/rocco/layout.rb index 5034cca..2453138 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|