Fix a bug introduced in my previous commit on protodoc.rb

This commit is contained in:
Tobie Langel 2008-09-30 00:05:18 +02:00
parent 9af3c039e1
commit 5607889e41

View File

@ -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