1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Small documentation correction

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gsinclair 2003-09-19 01:51:17 +00:00
parent df7c89b442
commit 50cd24f1cf

View file

@ -188,7 +188,7 @@ class Set
end end
alias << add alias << add
# Adds the given object to the set and returns self. If it the # Adds the given object to the set and returns self. If the
# object is already in the set, returns nil. # object is already in the set, returns nil.
def add?(o) def add?(o)
if include?(o) if include?(o)