method
find_see
v2_2_9 -
Show latest stable
- Class:
RDoc::MethodAttr
find_see()public
No documentation available.
# 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