Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Resolv::DNS::Resource::IN::WKS.new
(::String | ::Resolv::IPv4 address, ::Integer protocol, ::Integer bitmap) -> ::Resolv::DNS::Resource::IN::WKS
new(address, protocol, bitmap)
lib/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/resolv.rb, line 2672
def initialize(address, protocol, bitmap)
@address = IPv4.create(address)
@protocol = protocol
@bitmap = bitmap
end
No documentation available