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

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

(RUBY) The mysterious parents of Jack...

Post any examples or modules that you want to share here

(RUBY) The mysterious parents of Jack...

Postby tulamide » Fri Jul 10, 2015 8:18 pm

If you've played around with Ruby a bit, you probably stumbled across two undocumented Ruby instance methods: caption and parent.

While I already explained what caption does, it wasn't until now that I found out what parent is good for. Instead of explaining it, I'll show it to you in this little schematic.

I'm already trying to find any use for this...
Attachments
parent.fsm
(1.27 KiB) Downloaded 1128 times
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: (RUBY) The mysterious parents of Jack...

Postby KG_is_back » Fri Jul 10, 2015 9:42 pm

Can you use them to change names of parent an child?
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: (RUBY) The mysterious parents of Jack...

Postby martinvicanek » Fri Jul 10, 2015 11:43 pm

Freaky stuff. :ugeek:
User avatar
martinvicanek
 
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: (RUBY) The mysterious parents of Jack...

Postby tulamide » Sat Jul 11, 2015 6:38 am

KG_is_back wrote:Can you use them to change names of parent an child?

I wish. But I couldn't find a way :(
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: (RUBY) The mysterious parents of Jack...

Postby MyCo » Sat Jul 11, 2015 6:12 pm

User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: (RUBY) The mysterious parents of Jack...

Postby tulamide » Sun Jul 12, 2015 11:37 pm

Indeed, you were. And not just seconds, but years! :mrgreen:
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany


Return to User Examples

Who is online

Users browsing this forum: No registered users and 35 guests