method

escape_globs

escape_globs(path)
public

Returns a string that has had any glob characters escaped. The glob characters are `* ? { } [ ]`.

Examples

Bundler::Thor::Util.escape_globs('[apps]')   # => '\[apps\]'

Parameters

String

Returns

String