From: Tj Holowaychuk Date: 2009-01-17T03:01:31+09:00 Subject: Bloc param parens |memo, (a, b)| In Ruby < 1.9 what does this really do? For example I wrote class String def tokenize! hash hash.inject(self) { |s, (k, v)| s.gsub! /:#{k}/, v } end end Which has a usage of: 'Welcome :name, enjoy your :object'.tokenize!({ :name => 'TJ', :object => 'cookie' }) anyways, the inject did not work as desired until I put parens around the last two parameters, yet I do not entirely understand whats going here! does this just cause the distribution of the variables to change? -- Posted via http://www.ruby-forum.com/.