Is there a Ruby function similar to PHP's extract/list? What I'd like to 
do is:

def foo(args={a=>1, b=>2, c=>3})
  args.extract

  puts a
  puts b
  puts c
end

Thanks
csn

-- 
Posted via http://www.ruby-forum.com/.