Bug #3829: [doc] String#% and a hash
http://redmine.ruby-lang.org/issues/show/3829

Author: Daniel Bovensiepen
Status: Open, Priority: Normal
ruby -v: ruby 1.9.3dev (2010-09-15 trunk 29250) [x86_64-darwin10.3.2]

String#% can also be used together with a Hash. The documentation is miss=
ing this point. This patch is adding documentation to rb_str_format_m and=
 rb_f_sprintf.


----------------------------------------
http://redmine.ruby-lang.org
SW5kZXg6IHN0cmluZy5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN0
cmluZy5jCShyZXZpc2lvbiAyOTI1MCkKKysrIHN0cmluZy5jCSh3b3JraW5n
IGNvcHkpCkBAIC0xMjI0LDE0ICsxMjI0LDE0IEBAIHJiX3N0cl90aW1lcyhW
QUxVRSBzdHIsIFZBTFVFIHRpbWVzKQogICoKICAqICBGb3JtYXQtLS1Vc2Vz
IDxpPnN0cjwvaT4gYXMgYSBmb3JtYXQgc3BlY2lmaWNhdGlvbiwgYW5kIHJl
dHVybnMgdGhlIHJlc3VsdAogICogIG9mIGFwcGx5aW5nIGl0IHRvIDxpPmFy
ZzwvaT4uIElmIHRoZSBmb3JtYXQgc3BlY2lmaWNhdGlvbiBjb250YWlucyBt
b3JlIHRoYW4KLSAqICBvbmUgc3Vic3RpdHV0aW9uLCB0aGVuIDxpPmFyZzwv
aT4gbXVzdCBiZSBhbiA8Y29kZT5BcnJheTwvY29kZT4gY29udGFpbmluZwot
ICogIHRoZSB2YWx1ZXMgdG8gYmUgc3Vic3RpdHV0ZWQuIFNlZSA8Y29kZT5L
ZXJuZWw6OnNwcmludGY8L2NvZGU+IGZvciBkZXRhaWxzCi0gKiAgb2YgdGhl
IGZvcm1hdCBzdHJpbmcuCisgKiAgb25lIHN1YnN0aXR1dGlvbiwgdGhlbiA8
aT5hcmc8L2k+IG11c3QgYmUgYW4gPGNvZGU+QXJyYXk8L2NvZGU+IG9yIDxj
b2RlPkhhc2g8L2NvZGU+CisgKiAgY29udGFpbmluZyB0aGUgdmFsdWVzIHRv
IGJlIHN1YnN0aXR1dGVkLiBTZWUgPGNvZGU+S2VybmVsOjpzcHJpbnRmPC9j
b2RlPiBmb3IgCisgKiAgZGV0YWlscyBvZiB0aGUgZm9ybWF0IHN0cmluZy4K
ICAqCi0gKiAgICAgIiUwNWQiICUgMTIzICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIz0+ICIwMDEyMyIKLSAqICAgICAiJS01czogJTA4eCIgJSBb
ICJJRCIsIHNlbGYub2JqZWN0X2lkIF0gICAjPT4gIklEICAgOiAyMDBlMTRk
NiIKKyAqICAgICAiJTA1ZCIgJSAxMjMgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICM9PiAiMDAxMjMiCisgKiAgICAgIiUtNXM6ICUwOHgiICUgWyAi
SUQiLCBzZWxmLm9iamVjdF9pZCBdICAjPT4gIklEICAgOiAyMDBlMTRkNiIK
KyAqICAgICAiZm9vID0gJXtmb299IiAlIHsgOmZvbyA9PiAnYmFyJyB9ICAg
ICAgICM9PiAiZm9vID0gYmFyIgogICovCi0KIHN0YXRpYyBWQUxVRQogcmJf
c3RyX2Zvcm1hdF9tKFZBTFVFIHN0ciwgVkFMVUUgYXJnKQogewpJbmRleDog
c3ByaW50Zi5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHNwcmludGYu
YwkocmV2aXNpb24gMjkyNTApCisrKyBzcHJpbnRmLmMJKHdvcmtpbmcgY29w
eSkKQEAgLTQyMiwxMyArNDIyLDEzIEBAIGdldF9oYXNoKHZvbGF0aWxlIFZB
TFVFICpoYXNoLCBpbnQgYXJnYywgY29uc3QgVkFMCiAgKiAgICAgc3ByaW50
ZigiJXUiLCAtMTIzKSAgICAgICAgICAgICAgICAgICAgICAgICM9PiAiLTEy
MyIKICAqCiAgKiAgRm9yIG1vcmUgY29tcGxleCBmb3JtYXR0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