it will take me awhile to decipher all the things going on up there.
I recommend using
require 'pp'
and then
pp your_object
like
pp joe
Also, my recommendation would be to stay as simple as possible, and from
this
point onwards (if things work) add complexity/more features.
I once wrote a game where I added features and features, but eventually
it
all became kinda big and complicated and I stopped continuing on it. ![]()
(And I still have a very flexible MUD engine on my todo list, but this
takes looong
)
···
--
Posted via http://www.ruby-forum.com/\.