Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.
find_class_named_from(name, from)public
Finds the class with name starting in namespace from
# File lib/rdoc/top_level.rb, line 147
def self.find_class_named_from name, from
from = find_class_named from unless RDoc::Context === from
until RDoc::TopLevel === from do
return nil unless from
klass = from.find_class_named name
return klass if klass
from = from.parent
end
find_class_named name
end Related methods
- Instance methods
- ==
- add_alias
- add_constant
- add_include
- add_method
- add_to_classes_or_modules
- base_name
- cvs_url
- eql?
- find_class_or_module
- find_local_symbol
- find_module_named
- full_name
- hash
- http_url
- inspect
- last_modified
- name
- object_class
- path
- pretty_print
- to_s
- Class methods
- all_classes
- all_classes_and_modules
- all_classes_hash
- all_files
- all_files_hash
- all_modules
- all_modules_hash
- classes
- classes_hash
- complete
- files
- files_hash
- find_class_named
- find_class_named_from
- find_class_or_module
- find_file_named
- find_module_named
- find_unique
- fix_basic_object_inheritance
- modules
- modules_hash
- new
- new
- remove_nodoc
- reset
- unique_classes
- unique_classes_and_modules
- unique_modules