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 init Method Cannot Access @ins
2 posts
• Page 1 of 1
Ruby init Method Cannot Access @ins
I'd like to initialize some instance variables according to the current value on one of the @ins.
@ins is nil in the init method though. Is this a bug?
Workaround: set the instance variable in the event method if it is nil.
@ins is nil in the init method though. Is this a bug?
Workaround: set the instance variable in the event method if it is nil.
-
fabb - Posts: 6
- Joined: Wed Feb 20, 2008 9:06 pm
Re: Ruby init Method Cannot Access @ins
Hi fabb,
Yes that's perfectly normal - and you got the right solution too.
Yes that's perfectly normal - and you got the right solution too.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: Majestic-12 [Bot] and 66 guests