summaryrefslogtreecommitdiff
path: root/lib/oxidized/manager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/manager.rb')
-rw-r--r--lib/oxidized/manager.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/manager.rb b/lib/oxidized/manager.rb
index ed49b7e..251f0cc 100644
--- a/lib/oxidized/manager.rb
+++ b/lib/oxidized/manager.rb
@@ -11,6 +11,7 @@ module Oxidized
klass = nil
[Oxidized, Object].each do |mod|
klass = mod.constants.find { |const| const.to_s.downcase == file.downcase }
+ klass = mod.constants.find { |const| const.to_s.downcase == 'oxidized'+ file.downcase } unless klass
klass = mod.const_get klass if klass
break if klass
end