An Introduction to Ruby Conditionals
Too Long; Didn't Read
Ruby syntax provides the necessary elements to translate any conditional programming sequence into manageable and easy to read lines of code. The conditionals act as a question and the outcome is determined by the answer to that question. They can be used to structure and create efficient code when there is a wide number of possible outcomes: "CASE / WHEN / ELSE STATEMENT," "unless," "if / unless" and "if/unless" are used as a conditionals. Ruby syntax is based on the basicif /unless statements that are used in Ruby programming.