mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
471457733e
commit
d429fc6c31
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Feb 21 16:18:42 2015 Stefan Schuler <mail@stefanschuessler.de>
|
||||||
|
|
||||||
|
* compar.c (Init_Comparable): [DOC] Replace camelcase variable name.
|
||||||
|
[Fix GH-833]
|
||||||
|
|
||||||
Fri Feb 20 17:27:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Feb 20 17:27:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* file.c (rb_file_identical_p): fix handle leak, ensure to close
|
* file.c (rb_file_identical_p): fix handle leak, ensure to close
|
||||||
|
|
4
compar.c
4
compar.c
|
@ -188,8 +188,8 @@ cmp_between(VALUE x, VALUE min, VALUE max)
|
||||||
* class SizeMatters
|
* class SizeMatters
|
||||||
* include Comparable
|
* include Comparable
|
||||||
* attr :str
|
* attr :str
|
||||||
* def <=>(anOther)
|
* def <=>(other)
|
||||||
* str.size <=> anOther.str.size
|
* str.size <=> other.str.size
|
||||||
* end
|
* end
|
||||||
* def initialize(str)
|
* def initialize(str)
|
||||||
* @str = str
|
* @str = str
|
||||||
|
|
Loading…
Reference in a new issue