Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Ruby Object Viewer

Post any examples or modules that you want to share here

Ruby Object Viewer

Postby chackl » Fri Jan 10, 2014 10:53 pm

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 10522 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 1048 times
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Ruby Object Viewer

Postby trogluddite » Sat Jan 11, 2014 4:50 pm

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
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Ruby Object Viewer

Postby chackl » Sat Jan 11, 2014 8:10 pm

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.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg


Return to User Examples

Who is online

Users browsing this forum: No registered users and 0 guests