зеркало из https://github.com/github/ruby.git
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f748c14cfd
Коммит
0e42b43497
|
@ -2465,7 +2465,7 @@ nurat_s_convert(int argc, VALUE *argv, VALUE klass)
|
||||||
* a/b (b>0). Where a is numerator and b is denominator. Integer a
|
* a/b (b>0). Where a is numerator and b is denominator. Integer a
|
||||||
* equals rational a/1 mathematically.
|
* equals rational a/1 mathematically.
|
||||||
*
|
*
|
||||||
* In ruby, you can create rational object with Rational, to_r,
|
* In ruby, you can create rational object with Rational, to_r,
|
||||||
* rationalize method or suffixing r to a literal. The return values will be irreducible.
|
* rationalize method or suffixing r to a literal. The return values will be irreducible.
|
||||||
*
|
*
|
||||||
* Rational(1) #=> (1/1)
|
* Rational(1) #=> (1/1)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче