mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
forgot some checkins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
94df732f8b
commit
1d3d27b42d
36 changed files with 2191 additions and 297 deletions
|
|
@ -122,7 +122,11 @@ end
|
|||
|
||||
class Rational
|
||||
Unify = true
|
||||
|
||||
|
||||
def inspect
|
||||
format "%s/%s", @numerator.inspect, @denominator.inspect
|
||||
end
|
||||
|
||||
alias power! **
|
||||
|
||||
def ** (other)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue