lib/homecoming.rb in homecoming-0.1.0 vs lib/homecoming.rb in homecoming-0.1.1
- old
+ new
@@ -26,8 +26,8 @@
def self.find(filename, path = Dir.pwd)
Homecoming::Find.new(filename, path).files
end
def self.each(path = Dir.pwd, &block)
- Homecoming::Traversal.new(path, &block)
+ Homecoming::Traversal.new(path).each(&block)
end
end