Sha256: d81e8a3d25131cfb7f1a49235ca7555da22faaff1150841ee4983423dbb83c19

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

module Nmap
  #
  # Represents the Status of a {Host}.
  #
  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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-nmap-0.10.0 lib/nmap/status.rb