Charley and Bret,
Thank you. If I took a better look at Pickaxe I would save some of your
time. I was trying this (and of course it did not work). If I posted this in
my original post, maybe my mistake would be clearer to you.
div(:name => 'foo', :index => 2)
def div(first, second)
hash = {first, second}
puts hash[:name]
puts hash[:index]
end
And all I really had to do is
div(:name => 'foo', :index => 2)
def div(properties)
puts properties[:name]
puts properties[:index]
end
Nathan,
Thank you for your time and for your will to help.
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general