From: Sean Chittenden Date: 2003-01-22T05:40:03+09:00 Subject: lib/rational.rb --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Simple patch that I've had floating around in my tree for ages, this fixes a warning for use with DBI. -sc -- Sean Chittenden --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Index: rational.rb =================================================================== RCS file: /src/ruby/lib/rational.rb,v retrieving revision 1.5 diff -u -r1.5 rational.rb --- rational.rb 15 Aug 2002 07:36:35 -0000 1.5 +++ rational.rb 21 Jan 2003 20:37:38 -0000 @@ -313,6 +313,7 @@ class Fixnum alias div! /; + alias div! div; def div(other) if other.kind_of?(Fixnum) self.div!(other) --zYM0uCDKw75PZbzx--