From d429fc6c318450a8b30aaeec94548855dd0fa163 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 21 Feb 2015 07:18:45 +0000 Subject: 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 --- ChangeLog | 5 +++++ compar.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index facc8cbccc..81011fa0d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 21 16:18:42 2015 Stefan Schuler + + * compar.c (Init_Comparable): [DOC] Replace camelcase variable name. + [Fix GH-833] + Fri Feb 20 17:27:12 2015 Nobuyoshi Nakada * file.c (rb_file_identical_p): fix handle leak, ensure to close diff --git a/compar.c b/compar.c index 6eb34ed794..946d0e07e9 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 -- cgit v1.2.3