summaryrefslogtreecommitdiff
path: root/compar.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-21 07:18:45 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-21 07:18:45 (GMT)
commitd429fc6c318450a8b30aaeec94548855dd0fa163 (patch)
tree936bfcf67cf88260e84f76ec8857e811eba44999 /compar.c
parent471457733e77cdaeeb138e9df331dcf3ccb4f6c1 (diff)
compar.c: variable name [ci skip]
* compar.c (Init_Comparable): [DOC] Replace camelcase variable name. [Fix GH-833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compar.c b/compar.c
index 6eb34ed..946d0e0 100644
--- a/compar.c
+++ b/compar.c
@@ -188,8 +188,8 @@ cmp_between(VALUE x, VALUE min, VALUE max)
* class SizeMatters
* include Comparable
* attr :str
- * def <=>(anOther)
- * str.size <=> anOther.str.size
+ * def <=>(other)
+ * str.size <=> other.str.size
* end
* def initialize(str)
* @str = str