class Thor::Runner
def thorfiles_relevant_to(meth)
def thorfiles_relevant_to(meth) klass_str = Thor::Util.to_constant(meth.split(":")[0...-1].join(":")) thor_yaml.select do |k, v| v[:constants] && v[:constants].include?(klass_str) end.map { |k, v| File.join(thor_root, "#{v[:filename]}") } end