mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
f748c14cfd
commit
0e42b43497
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
* 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.
|
||||
*
|
||||
* Rational(1) #=> (1/1)
|
||||
|
|
Loading…
Reference in a new issue