Subject: so it seems there is no way to pass argument lists?
From: Tom Sawyer <transami transami.net>
Date: Fri, 10 Jan 2003 03:05:37 +0900
so it seems there is no way to pass argument lists?
def throwem
return *[1, 2, 3]
end
def catchem(*args)
return args.length
end
puts catchem throwem #--> 1
the astrisk(*) amounts to nothing. :-(
--
tom sawyer, aka transami
transami / transami.net