Sha256: f4c6f9e4d5a0d404404302c3162040d55a576230824640c64f263f8f2d0966b6

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

module Nmap
  class XML
    #
    # Describes the `nmap` command.
    #
    # @since 1.0.0
    #
    class Scanner < Struct.new(:name, :version, :arguments, :start_time)

      #
      # Converts the scanner to a String.
      #
      # @return [String]
      #   The scanner name and arguments.
      #
      def to_s
        "#{self.name} #{self.arguments}"
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-nmap-1.0.3 lib/nmap/xml/scanner.rb