diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 11:47:12 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 11:47:12 +0000 |
commit | 2b72892ac0de9ff1d05f2b21ed85ef09aa41c57e (patch) | |
tree | 8e3605387126d68c7340fc53dda5de1455a6e090 /test | |
parent | 7d4defbe1b3b267695446adac950d726538ea621 (diff) | |
download | ruby-2b72892ac0de9ff1d05f2b21ed85ef09aa41c57e.tar.gz |
* lib/rational.rb (floor, ceil, truncate, round): do not use
definitions of Numeric.
* lib/rational.rb (to_i): should returns truncated self.
* lib/complex.rb (numerator): requires
Integer#{numerator,denominator}.
* lib/complex.rb (quo): do not use definition of Numeric.
* lib/complex.rb (>, >=, <, <=, between?, div, divmod, modulo,
floor, ceil, truncate, round): undef'ed.
* lib/mathn.rb (Rational#inspect): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions