Sha256: 84b13269d8e4bc4aaf64a68a20c435835fec2f4ab4ea9403ed70357408839274
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
module Nmapr module Options module Verbose def verbose(value = 1) case value when :slightly verbose(1) when :moderately verbose(2) when :very verbose(3) when Integer verbosity = "" value.times do verbosity << "v" end add_argument("-" << verbosity) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nmapr-1.0.0 | lib/nmapr/options/verbose.rb |