From: Sam Duncan Date: 2011-12-14T12:47:03+09:00 Subject: Re: How to pass a list of conditions as parameters --------------000804030906040000080103 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 14/12/11 16:32, Thescholar Thescholar wrote: > Thank you very Sam! It seems there are still a lot more I need to learn > though. > > For example, could you tell me where I could I learn more about this > part within the array? -----> %{number} > > What keyword do I need to type on google to find more information about > this process? > > Thank you again! > That is interpolating hash values in a string based on their key - it was just an easy way to get that number in the string twice and only specify it once =] It is new in 1.9.x I believe and is similar to functionality found in python string interpolation with dicts. http://www.ruby-doc.org/core-1.9.3/String.html#method-i-25 Hope that helps Sam --------------000804030906040000080103--