/ Published in: Ruby
WTF!
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (!check_part(baz)) then # do something end def check_part(foo) if (foo) then return true else return false end end # why not just write this: unless baz # do something end