Page 1 of 1
... more Ruby
Posted: Sat Nov 17, 2012 12:21 am
by unkargherth
Sorry guys, probably is some stupid question, but
How to send a trigger from a Ruby component?
Re: ... more Ruby
Posted: Sat Nov 17, 2012 1:45 am
by MyCo
output x,y
x is the output number, and y doesn't matter
Re: ... more Ruby
Posted: Sat Nov 17, 2012 3:33 am
by unkargherth
So sending any (non nil) output to a trigger sends the trigger? .... nice

Thanks MyCo
Re: ... more Ruby
Posted: Sat Nov 17, 2012 7:49 am
by MyCo
you can also send nil... it doesn't matter. The "output" method itself sends the trigger. If you don't want to send trigger on the outputs, you have to write the value into @outs.