From: redstun Date: 2010-12-15T14:35:52+09:00 Subject: Re: String.populate(data) for sprintf? --001636499dfb5b58d304976c4f75 Content-Type: text/plain; charset=UTF-8 oops, sorry for typos ^ => does is populating bones* => bonus question On Wed, Dec 15, 2010 at 1:22 PM, redstun wrote: > This idea came up in my mind last night. > > 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? > > Maybe String.populate_with is better in terms of grammar correctness, > but I thing populate is fine. > > A bones* question, if you once was a Java developer, do you still > remember Java's version of sprintf? Maybe this help make more sense of > String.populate() > > > --001636499dfb5b58d304976c4f75--