paint-brush
Introduction to Ruby Conditionalsby@noomdalv

Introduction to Ruby Conditionals

by Vlad Luna San4mApril 8th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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 if statement evaluates anything we put in front of him, if the result returnsor(null) then we continue with the next condition, in this case(else if) and the same process applies, if no condition is, the statement is executed. The case statement is another Ruby conditional that can be used as an alternative to if / unless. The expression acts as a question and the outcome is determined by the answer to that question.
featured image - Introduction to Ruby Conditionals
Vlad Luna San HackerNoon profile picture
Vlad Luna San

Vlad Luna San

@noomdalv

L O A D I N G
. . . comments & more!

About Author

Vlad Luna San HackerNoon profile picture
Vlad Luna San@noomdalv

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite