Page 2 of 2
Re: How to properly use delays in a ruby module?
Posted: Sun Oct 26, 2014 2:26 pm
by Subquantum
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.
Re: How to properly use delays in a ruby module?
Posted: Sun Oct 26, 2014 9:28 pm
by tulamide
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
