0

ruby boolean

is it true just because string is not empty ?

1st Nov 2016, 8:13 AM
sagar pednekar
sagar pednekar - avatar
2 ответов
+ 1
every value that isn't false or nil is true in Ruby
1st Nov 2016, 10:39 AM
TheNewHEROBRINE
TheNewHEROBRINE - avatar
0
Guys, Can you please give us some examples regarding 0 and false as truthy?
7th Nov 2016, 3:58 PM
Special For You
Special For You - avatar