Sha256: 57581539c351119e097cea3be84aa71bf65f735c0f7dcbb83b5b18fc3ff6d8e6

Contents?: true

Size: 318 Bytes

Versions: 8

Compression:

Stored size: 318 Bytes

Contents

module Nmap
  #
  # Describes the `nmap` command.
  #
  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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby-nmap-0.10.0 lib/nmap/scanner.rb
ruby-nmap-0.9.3 lib/nmap/scanner.rb
ruby-nmap-0.9.2 lib/nmap/scanner.rb
ruby-nmap-0.9.1 lib/nmap/scanner.rb
ruby-nmap-0.9.0 lib/nmap/scanner.rb
ruby-nmap-0.8.0 lib/nmap/scanner.rb
ruby-nmap-0.7.0 lib/nmap/scanner.rb
ruby-nmap-0.6.0 lib/nmap/scanner.rb