method

escape_globs

ruby latest stable - Class: Bundler::Thor::Util

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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