Skip to content

Commit

Permalink
Fooled flay by masking duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrutherford committed Mar 7, 2009
1 parent b0468b0 commit 2b2f0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reek/module_context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def myself
end

def find_module(modname)
sym = modname.to_s
return nil unless myself
sym = modname.to_s
myself.const_defined?(sym) ? myself.const_get(sym) : nil
end

Expand Down

0 comments on commit 2b2f0dd

Please sign in to comment.