Jay Fields' Thoughts
experiences in software development
Showing posts with label
unless
.
Show all posts
Showing posts with label
unless
.
Show all posts
Sunday, July 22, 2007
Ruby: Multiple ifs (unless)
›
I recently ran into some code similar to the snippet below. item . currency if item . currency != : usd unless item . nil? Based on read...
2 comments:
›
Home
View web version