Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Resolv.each_address
(::String name) { (::String) -> void } -> void
each_address(name, &block)
lib/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/resolv.rb, line 55
def self.each_address(name, &block)
DefaultResolver.each_address(name, &block)
end
Iterates over all IP addresses for name.