Maybe args.inspect

2006/2/4, csn <cool_screen_name90001 / yahoo.com>:
> 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/.
>
>