Ruby Object Viewer

Post any examples or modules that you want to share here
Post Reply
User avatar
chackl
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Ruby Object Viewer

Post 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 12618 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
Attachments
objectviewer.fsm
Ruby Object Viewer Beta 04
(5.44 KiB) Downloaded 1205 times
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Ruby Object Viewer

Post 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
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
chackl
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Ruby Object Viewer

Post by chackl »

Thanks for hearing that from you :D
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
Post Reply