Method: FastRI::RiIndex#get_method_entry

Defined in:
lib/fastri/ri_index.rb

#get_method_entry(full_name, scope = nil) ⇒ Object

Returns the MethodEntry associated to the given full_name.



399
400
401
402
403
# File 'lib/fastri/ri_index.rb', line 399

def get_method_entry(full_name, scope = nil)
  entry = get_entry(@method_array, full_name, MethodEntry, scope)
  return nil unless entry && entry.full_name == full_name
  entry
end