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