lib/bigfiles/source_code_finder.rb in bigfiles-0.0.3 vs lib/bigfiles/source_code_finder.rb in bigfiles-0.1.0
- old
+ new
@@ -7,10 +7,10 @@
globber: Dir)
@filefind = filefind
@globber = globber
end
- def find(glob)
- @globber.glob(glob)
+ def find(glob, exclude_glob)
+ @globber.glob(glob) - @globber.glob(exclude_glob)
end
end
end