Sha256: 12179bfd996de2ea1c91967e92c9f63253587acb69af5d142fb76c98c2e9471e
Contents?: true
Size: 511 Bytes
Versions: 8
Compression:
Stored size: 511 Bytes
Contents
module Nmap class Address # Type of the address attr_reader :type # Address attr_reader :addr # # Creates a new Address object. # # @param [Symbol] type # The type of the address. # # @param [String] addr # The address. # def initialize(type,addr) @type = type @addr = addr end # # Converts the address to a String. # # @return [String] # The address. # def to_s @addr.to_s end end end
Version data entries
8 entries across 8 versions & 1 rubygems