Module: RuboCop::Cop::Homebrew

Defined in:
rubocops/io_read.rb,
rubocops/shell_commands.rb

Defined Under Namespace

Classes: ExecShellMetacharacters, IORead, ShellCommands

Constant Summary collapse

SHELL_BUILTINS =

https://github.com/ruby/ruby/blob/v2_6_3/process.c#L2430-L2460

%w[
  !
  .
  :
  break
  case
  continue
  do
  done
  elif
  else
  esac
  eval
  exec
  exit
  export
  fi
  for
  if
  in
  readonly
  return
  set
  shift
  then
  times
  trap
  unset
  until
  while
].freeze
SHELL_METACHARACTERS =

https://github.com/ruby/ruby/blob/v2_6_3/process.c#L2495

%W[* ? { } [ ] < > ( ) ~ & | \\ $ ; ' ` " \n #].freeze