Sha256: 242759009f9c705b191158bccedb8bca8ace67f3f402b218df1e004a6bd8b2d3

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

module Nmapr
  module Options
    module Output 
      def output(type, value)
        case type
        when :file
          add_argument("-oN " << value)
        when :xml
          add_argument("-oX " << value)
        when :leet
          add_argument("-oS " << value)
        when :grepable
          add_argument("-oG " << value)
        when :all
          add_argument("-oA " << value)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nmapr-1.0.0 lib/nmapr/options/output.rb