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:
parent
df7c89b442
commit
50cd24f1cf
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue