Page 1 of 1

Ruby Object Viewer

PostPosted: Fri Jan 10, 2014 10:53 pm
by chackl
Hello!!

Well i was looking for am Methode how to view different data of ruby objects. I think the inspect funtion is nice - but i thin you will like that more:
objectviewer.png
objectviewer.png (22.13 KiB) Viewed 10590 times


The structure of such data-trees might be known by everyone of us - so i just thought of how about embedding it ;)

Limmits:
I had no idea how to Display Hashes better - so i made a subclass for each hash index to get the object of the index and the object of the value :D

You could go as deep as you want ^^

For a better look i did place you one of my DMX-Objects inside - Please no not use those classes - the code was also deleted so it might give you no usage - but you are alowed to learn from it XD

This is an early BETA maybe some rubyfreaks have better ideas here :D

EDIT:
Update to BETA 2 / 3
Fixes scrollissue
Update to BETA 4
New Classnames for scrollbars/areas

Regards

Re: Ruby Object Viewer

PostPosted: Sat Jan 11, 2014 4:50 pm
by trogluddite
Straight into the toolbox!
Fantastic work, Chackl; a great example of the kind of de-bugging tools that I have always wanted in FS. :D

Re: Ruby Object Viewer

PostPosted: Sat Jan 11, 2014 8:10 pm
by chackl
Thanks for hearing that from you :D