Sha256: 105436e052a7ba7cbb453729fc9b00a75733e32795393d9e862d815f9bf2fb44

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

U:RDoc::AnyMethod[iI"(find_class_and_command_by_namespace:EFI"=Bundler::Thor::Util::find_class_and_command_by_namespace;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[	I"^Receives a namespace and tries to retrieve a Bundler::Thor or Bundler::Thor::Group class ;TI"Ofrom it. It first searches for a class using the all the given namespace, ;TI"Mif it's not found, removes the highest entry and searches for the class ;TI"Bagain. If found, returns the highest entry as the class name.;To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading:
leveli	:	textI"
Examples;T@o:RDoc::Markup::Verbatim;	[I"$class Foo::Bar < Bundler::Thor
;TI"  def baz
;TI"  end
;TI"	end
;TI"
;TI"+class Baz::Foo < Bundler::Thor::Group
;TI"	end
;TI"
;TI"pBundler::Thor::Util.namespace_to_thor_class("foo:bar")     #=> Foo::Bar, nil # will invoke default command
;TI"RBundler::Thor::Util.namespace_to_thor_class("baz:foo")     #=> Baz::Foo, nil
;TI"TBundler::Thor::Util.namespace_to_thor_class("foo:bar:baz") #=> Foo::Bar, "baz"
;T:@format0S;;
i	;I"Parameters;To;
;	[I"namespace<String>;T:
@fileI"-lib/bundler/vendor/thor/lib/thor/util.rb;T:0@omit_headings_from_table_of_contents_below000[[I"%find_class_and_task_by_namespace;To;;	[;@&;0I"!(namespace, fallback = true);T@&FI"	Util;FcRDoc::NormalModule00

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/doc/bundler-1.14.6/ri/Bundler/Thor/Util/find_class_and_command_by_namespace-c.ri