Programmer's Nirvana
Tuesday, February 18, 2014
Checking if a variable is not nil and not zero in ruby - Stack Overflow
Checking if a variable is not nil and not zero in ruby - Stack Overflow
: "unless discount.nil? || discount == 0
# ...
end"
'via Blog this'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment