code: def dirs_for(name, opts = {})
        if _load_paths[name].blank?
          []
        else
          result = []
          invert = !!opts[:invert]
          load_paths = invert ? _load_paths[name].reverse : _load_paths[name]
          roots.each do |root|
            load_paths.each do |paths, glob|
              paths = paths.reverse if invert
              result << paths.map{|p| File.join(root, p)}
            end
          end
          result.flatten
        end # if
      end
docs: Provides the directories or raw paths that are associated with a given name.
  
   @param        [Symbol]    name  The name for the paths group
   @param        [Hash]      opts  An options hash
   @option opts  [Boolean]   :invert (false) inverts the order of the returned paths
  
   @example Read Directories:
     MyClass.dirs_for(:models)
  
   @example Inverted Read:
     MyClass.dirs_for(:models, :invert => true)
  
   @return [Array] An array of the paths
     Returned in declared order unless the :invert option is set
   @api public
   @since 0.1.1
   @author Daniel Neighman