Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 299b647355
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.151 kb
def twice(x)
puts x + x
end
# This caches the lookup for `Fixnum + Fixnum`
twice 1
# => 2
# This will skip the previous cache
twice "yo"
# => yoyo
Jump to Line
Something went wrong with that request. Please try again.