summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-09 02:30:47 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-09 02:30:47 +0000
commit029ad63b0b1f1a4d41678d1e42540ccef6affcb4 (patch)
treef41783ce1416fc016e7f90af5469acc77b4e3643
parent8e564e3ab65ddfb7c95e8e511821dec550b964a7 (diff)
* string.c: Add call-seq alias for String#=== [Bug #8381]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--string.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6d36a84b2..58dc63d34c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu May 9 11:30:02 2013 Zachary Scott <zachary@zacharyscott.net>
+
+ * string.c: Add call-seq alias for String#=== [Bug #8381]
+
Thu May 9 11:14:18 2013 Zachary Scott <zachary@zacharyscott.net>
* doc/contributing.rdoc: Add guide for contributing to CRuby
diff --git a/string.c b/string.c
index 00a3399db9..cc03afbfa4 100644
--- a/string.c
+++ b/string.c
@@ -2342,7 +2342,8 @@ str_eql(const VALUE str1, const VALUE str2)
}
/*
* call-seq:
- * str == obj -> true or false
+ * str == obj -> true or false
+ * str === obj -> true or false
*
* Equality---If <i>obj</i> is not a <code>String</code>, returns
* <code>false</code>. Otherwise, returns <code>true</code> if <i>str</i>