summaryrefslogtreecommitdiff
path: root/lib/rdoc/store.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/store.rb')
-rw-r--r--lib/rdoc/store.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rdoc/store.rb b/lib/rdoc/store.rb
index 2a2acf4edb..4975c6af51 100644
--- a/lib/rdoc/store.rb
+++ b/lib/rdoc/store.rb
@@ -354,6 +354,9 @@ class RDoc::Store
loaded_mod = load_class_data name
file = loaded_mod.in_files.first
+
+ return unless file # legacy data source
+
file.store = self
mod = file.add_module RDoc::NormalModule, name