lib/reek/module_context.rb in reek-1.0.0 vs lib/reek/module_context.rb in reek-1.1.3

- old
+ new

@@ -18,10 +18,10 @@ end def find_module(modname) return nil unless myself sym = modname.to_s - myself.const_defined?(sym) ? myself.const_get(sym) : nil + @myself.const_defined?(sym) ? @myself.const_get(sym) : nil end def outer_name "#{@outer.outer_name}#{@name}::" end