From: Patrik Wenger Date: 2010-02-17T22:05:42+09:00 Subject: [ruby-core:28199] [Feature #2709] $VERBOSE, $DEBUG and Kernel#sprintf Issue #2709 has been updated by Patrik Wenger. Because, in my opinion, too many arguments aren't an error. Why is this an error for you? Too many arguments have no impact on the functionality of Kernel#sprintf. Too few arguments are an error, however. My suggestion: 1. never raise or warn on too many arguments 2. always raise on too few arguments I figured out that if you provide absolute position arguments ("%1$s"), no warnings are issued, even if $VERBOSE or $DEBUG. That's the way it should work with relative position arguments ("%s"), too. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2709 ---------------------------------------- http://redmine.ruby-lang.org