1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/mathn.rb: Fix indentation. Patch by Jason Dew.

[Ruby 1.9 - Feature #4682]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2011-05-12 22:04:59 +00:00
parent 6e10135d47
commit 8c47d51883
2 changed files with 54 additions and 46 deletions

View file

@ -1,3 +1,8 @@
Fri May 13 07:04:33 2011 Eric Hodel <drbrain@segment7.net>
* lib/mathn.rb: Fix indentation. Patch by Jason Dew.
[Ruby 1.9 - Feature #4682]
Fri May 13 06:50:43 2011 Eric Hodel <drbrain@segment7.net>
* lib/mathn.rb: Add documentation. Patch by Jason Dew. [Ruby 1.9 -

View file

@ -73,6 +73,9 @@ end
class Rational
remove_method :**
##
# exponentiate by +other+
def ** (other)
if other.kind_of?(Rational)
other2 = other