lib/alexandria/scanners.rb in alexandria-book-collection-manager-0.7.5 vs lib/alexandria/scanners.rb in alexandria-book-collection-manager-0.7.6

- old
+ new

@@ -38,11 +38,11 @@ def self.find_scanner(name) registry.find { |scanner| scanner.name == name } end - def self.each_scanner - registry.each { |scanner| yield scanner } + def self.each_scanner(&block) + registry.each(&block) end private_class_method :registry end end