зеркало из https://github.com/github/ruby.git
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:
Родитель
471457733e
Коммит
d429fc6c31
|
@ -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>
|
||||
|
||||
* 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
|
||||
* include Comparable
|
||||
* attr :str
|
||||
* def <=>(anOther)
|
||||
* str.size <=> anOther.str.size
|
||||
* def <=>(other)
|
||||
* str.size <=> other.str.size
|
||||
* end
|
||||
* def initialize(str)
|
||||
* @str = str
|
||||
|
|
Загрузка…
Ссылка в новой задаче