thor_root_glob (Thor::Runner)

    # File lib/thor/runner.rb, line 162
      def self.thor_root_glob
        # 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.
        files = Dir["#{thor_root.gsub(/\\/, '/')}/*"]
        files.map! do |file|
          File.directory?(file) ? File.join(file, "main.thor") : file
        end
      end