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]')
Parameters
String
Returns
String
# File lib/bundler/vendor/thor/lib/thor/util.rb, line 263
def escape_globs(path)
path.to_s.gsub(/[*?{}\[\]]/, '\\\&')
end