From: MonkeeSage Date: 2007-12-31T16:44:58+09:00 Subject: Re: String#% and a Hash On Dec 31, 1:34 am, Daniel Brumbaugh Keeney wrote: > Ruby1.9 doesn't seem to accept hashes in the String#% method anymore. > I use this a lot in conjunction with gettext[1], and am basically > wondering if this is a language change or a 1.9 bug. It doesn't appear > to be documented in Ruby1.8 or Ruby1.9. Thanks. > > Daniel Brumbaugh Keeney > > [1] > Example? In 1.8.6, this excepts: "blah %s %s" % {:a=>"blah", :b=>"blah"} # => ArgumentError: too few arguments ... Regards, Jordan