[前][次][番号順一覧][スレッド一覧]

ruby-changes:37592

From: nobu <ko1@a...>
Date: Sat, 21 Feb 2015 16:18:58 +0900 (JST)
Subject: [ruby-changes:37592] nobu:r49673 (trunk): compar.c: variable name [ci skip]

nobu	2015-02-21 16:18:45 +0900 (Sat, 21 Feb 2015)

  New Revision: 49673

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49673

  Log:
    compar.c: variable name [ci skip]
    
    * compar.c (Init_Comparable): [DOC] Replace camelcase variable name.
      [Fix GH-833]

  Modified files:
    trunk/ChangeLog
    trunk/compar.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49672)
+++ ChangeLog	(revision 49673)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb 21 16:18:42 2015  Stefan Schuler  <mail@s...>
+
+	* compar.c (Init_Comparable): [DOC] Replace camelcase variable name.
+	  [Fix GH-833]
+
 Fri Feb 20 17:27:12 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* file.c (rb_file_identical_p): fix handle leak, ensure to close
Index: compar.c
===================================================================
--- compar.c	(revision 49672)
+++ compar.c	(revision 49673)
@@ -188,8 +188,8 @@ cmp_between(VALUE x, VALUE min, VALUE ma https://github.com/ruby/ruby/blob/trunk/compar.c#L188
  *     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]