Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
thor_root_glob()
public
Returns the files in the thor root. On Windows thor_root will be
something like this:
C:\Documents and Settings\james\.thor
If we don’t #gsub the \ character, Dir.glob will fail.
# File lib/bundler/vendor/thor/lib/thor/util.rb, line 202
def thor_root_glob
files = Dir["#{escape_globs(thor_root)}/*"]
files.map! do |file|
File.directory?(file) ? File.join(file, "main.thor") : file
end
end