method

find_see

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: MethodAttr
find_see() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/method_attr.rb, line 165
  def find_see # :nodoc:
    return nil if singleton || is_alias_for

    # look for the method
    other = find_method_or_attribute name
    return other if other

    # if it is a setter, look for a getter
    return nil unless name =~ /[a-z_]=$/   # avoid == or ===
    return find_method_or_attribute name[0..-2]
  end
Register or log in to add new notes.