module Nmapr::Options::Output
Public Instance Methods
output(type, value)
click to toggle source
# File lib/nmapr/options/output.rb, line 4 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