struct NPMScan::Domain
- NPMScan::Domain
- Struct
- Value
- Object
Defined in:
npm_scan/domain.crConstant Summary
-
RECORD_TYPES =
[DNS::RecordType::A, DNS::RecordType::AAAA, DNS::RecordType::MX]
Constructors
Instance Method Summary
- #==(other : Domain) : Bool
- #name : String
- #query_records(resolver : DNS::Resolver, record_type : DNS::RecordType)
- #registered?(resolver : DNS::Resolver)
-
#to_s(io : IO)
Same as
#inspect(io)
. -
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Constructor Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.