class RuboCop::Options

def option(opts, *args)

value, in addition to calling the block if a block is given.
Sets a value in the @options hash, based on the given long option and its
def option(opts, *args)
  long_opt_symbol = long_opt_symbol(args)
  args += Array(OptionsHelp::TEXT[long_opt_symbol])
  opts.on(*args) do |arg|
    @options[long_opt_symbol] = arg
    yield arg if block_given?
  end
end