Fix a bug introduced in my previous commit on protodoc.rb
This commit is contained in:
parent
9af3c039e1
commit
5607889e41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue