Flowdock
method

find_see

Importance_0
Ruby latest stable (v2_5_5) - 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 166
  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.