lib/docface/base.rb in docface-0.0.5 vs lib/docface/base.rb in docface-0.0.6

- old
+ new

@@ -50,10 +50,10 @@ end end def strip_path(file,directory) dir = directory.gsub(/\/*$/,'').gsub(directory.split('/').last, "") - file = file.gsub(dir, "") + file = file.gsub!(dir, "") end def build(file,content) file = File.join(@output_dir,file).gsub(/\.md|.MD|.markdown|.mdown/,".html") directory = File.dirname(file)