From 5607889e41b812d69461aebe621b8713c1bee10b Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Tue, 30 Sep 2008 00:05:18 +0200 Subject: [PATCH] Fix a bug introduced in my previous commit on protodoc.rb --- lib/protodoc.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/protodoc.rb b/lib/protodoc.rb index 31311b0..8695707 100644 --- a/lib/protodoc.rb +++ b/lib/protodoc.rb @@ -21,6 +21,7 @@ module Protodoc include Environment def initialize(filename) + filename = File.join(filename.split('/')) @filename = File.expand_path(filename) @template = ERB.new(IO.read(@filename), nil, '%') end