module Bundler::Thor::Util
def find_by_namespace(namespace)
namespace
==== Parameters
Receives a namespace and search for it in the Bundler::Thor::Base subclasses.
def find_by_namespace(namespace) namespace = "default#{namespace}" if namespace.empty? || namespace =~ /^:/ Bundler::Thor::Base.subclasses.detect { |klass| klass.namespace == namespace } end