lib/async/io/endpoint/each.rb in async-io-1.20.0 vs lib/async/io/endpoint/each.rb in async-io-1.21.0

- old
+ new

@@ -39,10 +39,10 @@ else raise ArgumentError.new("Not sure how to convert #{specification} to endpoint!") end end - # Generate a list of endpoint from an array. + # Generate a list of endpoints from an array. def self.each(specifications, &block) return to_enum(:each, specifications) unless block_given? specifications.each do |specification| yield try_convert(specification)