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
How to properly use delays in a ruby module?
12 posts
• Page 2 of 2 • 1, 2
Re: How to properly use delays in a ruby module?
Since I am new to ruby, I was thinking that ruby used selectors like in objective-c and also confusing this with select case statements in visual basic. After further reading I now understand that "@selector" provided in tulamide's code is just an instance variable and could have been named anything.
-
Subquantum - Posts: 24
- Joined: Tue Mar 11, 2014 10:20 pm
- Location: USA
Re: How to properly use delays in a ruby module?
Subquantum wrote:After further reading I now understand that "@selector" provided in tulamide's code is just an instance variable and could have been named anything.
Exactly. The switch or selector is the whole code itself. Sorry, if this confused you, I just wanted to use names that are a bit more informative than the usual i, n, p and the like
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
12 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 70 guests