Created
October 24, 2012 03:08
-
-
Save andkerosine/3943454 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls = "single#{i.zero? ? " first" : i == images.size - 1 ? " last" : ""}" | |
cls = "single" + {0 => " first", images.size - 1 => " last"}[i] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment