Mercurial > repos > other > SevenLanguagesInSevenWeeks
view 1-Ruby/truthiness-ruby.output @ 11:e0a92558400f
Add some truthiness testing
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 02 Jan 2017 21:13:00 +0000 |
parents | |
children |
line wrap: on
line source
Val 'true' is truthy Val 'false' is falsy Val '1' is truthy Val '0' is truthy Val '-1' is truthy Val 'some string' is truthy Val '' is truthy Val nil is falsy