git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
svn 2015-04-30 08:02:56 +00:00
Родитель f748c14cfd
Коммит 0e42b43497
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)