Module: Oxblood::Commands::Scan Private

Defined in:
lib/oxblood/commands/scan.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.merge_opts!(args, opts) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Note:

Mutates args argument!


6
7
8
9
10
11
12
13
14
# File 'lib/oxblood/commands/scan.rb', line 6

def self.merge_opts!(args, opts)
  if v = opts[:count]
    args.push(:COUNT, v)
  end

  if v = opts[:match]
    args.push(:MATCH, v)
  end
end