From: Sarah Allen Date: 2010-04-14T13:01:30+09:00 Subject: Re: I thought spaces didn't matter around operators David A. Black wrote: > Here's another interesting space/non-space case: > > >> def m(*args); "hi"; end > => nil > >> m *10 > => "hi" > >> m * 10 > => "hihihihihihihihihihi" > > In m *10 the * is the unary *, while in m * 10 it's the infix > operator/method *. > > > David And what, may I ask, it the unary * operator? Is it what I've heard Rubyists call the "splat" operator that you use in var args? How and why would you override it? Thanks so much for indulging my pursuit of arcane Ruby knowledge :) Sarah -- Posted via http://www.ruby-forum.com/.