Method: RDoc::Context#find_local_symbol

Defined in:
lib/rdoc/code_object/context.rb

#find_local_symbol(symbol) ⇒ Object

Finds a method, constant, attribute, external alias, module or file named symbol in this context.



868
869
870
871
872
873
874
875
# File 'lib/rdoc/code_object/context.rb', line 868

def find_local_symbol(symbol)
  find_method_named(symbol) or
  find_constant_named(symbol) or
  find_attribute_named(symbol) or
  find_external_alias_named(symbol) or
  find_module_named(symbol) or
  find_file_named(symbol)
end