Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
"ensure" makes sure code is run regardless of begin-rescue outcome. (equivalent of Java finally)
Pass a number parameter to Array#first and Array#last to get the first n or the last n values.
http://rubyquicktips.tumblr.com/post/870337608/grep-anything-from-your-enumerables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.