module Thor::Actions::ClassMethods
def source_paths_for_search
3) Parents source paths
2) Source root
1) This class source paths
Returns the source paths in the following order:
def source_paths_for_search paths = [] paths += self.source_paths paths << self.source_root if self.respond_to?(:source_root) paths += from_superclass(:source_paths, []) paths end