Permalink
Browse files

Refactor.

  • Loading branch information...
1 parent 7dfc054 commit ebdaae02b0d85b14624e6c3d436031cb714dec37 @gilesbowkett committed Sep 30, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/towelie.rb
View
@@ -47,7 +47,7 @@ def body
def duplication?(dir)
parse dir
- method_definitions.uniq != method_definitions
+ not duplicates.empty?
end
def duplicated(dir)
parse dir

0 comments on commit ebdaae0

Please sign in to comment.