lib/rvg/misc.rb in rmagick-1.8.0 vs lib/rvg/misc.rb in rmagick-1.8.1

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: misc.rb,v 1.4 2005/04/23 15:28:00 rmagick Exp $ +# $Id: misc.rb,v 1.5 2005/05/22 22:31:30 rmagick Exp $ # Copyright (C) 2005 Timothy P. Hunter class Magick::RVG # This is a standard deep_copy method that is used in most classes. # Thanks to Robert Klemme. @@ -49,10 +49,10 @@ args.pop end begin fargs = args.collect { |a| (allow_nil && a.nil?) ? a : Float(a) } rescue ArgumentError, TypeError - raise ArgumentError, self.fmsg(args) + raise ArgumentError, self.fmsg(*args) end return fargs end def self.convert_one_to_float(arg)