3 ms·
Relevant documentation link for the uninitiated: https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#label-Flip-Flop https://docs.ruby-lan
by Lammy 2y ago
Relevant documentation link for the uninitiated: https://docs.ruby-lang.org/en/master/syntax/control_expressions_rdoc.html#label-Flip-Flop https://docs.ruby-lang.org/en/master/syntax/control_expressi...
“The form of the flip-flop is an expression that indicates when the flip-flop turns on, .. (or ...), then an expression that indicates when the flip-flop will turn off. While the flip-flop is on it will continue to evaluate to true, and false when off.”