Control Flow statements in Ruby

Control Flow statements in Ruby

Control flow statements are used for the controlled logical and conditional execution of a statement. All control flow statements are associated with boolean value - it can be either true or false, and depending on that, operates in a given pattern.

Note:
Because of the flexibility of the Ruby language, most of these statements can be used as statement modifiers - which was borrowed from Perl.
There may be different ways to write these statements. It would not be possible to cover all of them, ...

 •  0 comments  •  flag
Share on Twitter
Published on April 13, 2021 07:36
No comments have been added yet.