lib/sdoc_all/parts/rails.rb in sdoc_all-1.0.2.2 vs lib/sdoc_all/parts/rails.rb in sdoc_all-1.0.4
- old
+ new
@@ -33,10 +33,10 @@
end
end
self.class.used_sources << path
paths = FileList.new
- Dir.chdir(path) do
+ Base.chdir(path) do
File.open('vendor/rails/railties/lib/tasks/documentation.rake') do |f|
true until f.readline['Rake::RDocTask.new("rails")']
until (line = f.readline.strip) == '}'
if line['rdoc.rdoc_files.include']
paths.include(line[/'(.*)'/, 1])