Method: RDoc::Context#find_constant_named
- Defined in:
- lib/rdoc/code_object/context.rb
#find_constant_named(name) ⇒ Object
Finds a constant with name
in this context
816 817 818 819 820 |
# File 'lib/rdoc/code_object/context.rb', line 816 def find_constant_named(name) @constants.find do |m| m.name == name || m.full_name == name end end |