Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
Why "unless" expression was created in ruby?
Reason behind creating this unless statement? Any practical example will help. Thank you. Till now loving Ruby language :D
3 ответов
+ 1
Nikhil, aloha!
Ruby has a variety of ways to control execution. All the expressions described here return a value. ... The unless expression is the opposite of the if expression. If the value is false the “then” expression is executed
read more here: bit.ly/2hDt6TV
#ruby #expressions #unless #webdeveloper #osarts
0
reads better than if !
- 1
I don't like it. It's not easy to understand the logic.