From: redstun Date: 2010-12-15T14:49:43+09:00 Subject: Re: String.populate(data) for sprintf? --001636c5b9e8d4998c04976c800b Content-Type: text/plain; charset=UTF-8 I mean to have String.populate as an instance method i.e. fmt_str = 'aligned numbers: %6d %6d" result = fmt_str.populate(1, 2) Nothing wrong, just to make things look more natural On Wed, Dec 15, 2010 at 1:36 PM, botp wrote: > On Wed, Dec 15, 2010 at 1:22 PM, redstun wrote: > > As what Kernel::format(format_string, *arguments) is populating the > > format string with the data provided by *arguments, isn't it natural > > for a String object (namely the format_string) to receive the > > 'populate' message with the data? > > what is wrong w String#% > > --001636c5b9e8d4998c04976c800b--