Sha256: a71c182d1630d13bff049641bc834f9c8989ccbeff465b55538032f8b0c9ebcc
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true module Nmap class XML # # Represents the Status of a {Host}. # # @since 1.0.0 # class Status < Struct.new(:state, :reason, :reason_ttl) # # Converts the status to a String. # # @return [String] # The state. # def to_s self.state.to_s end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-1.0.3 | lib/nmap/xml/status.rb |