module Oxblood::Commands::Scan

@api private

Public Class Methods

merge_opts!(args, opts) click to toggle source

@note Mutates args argument!

# 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