Skip to content

Instantly share code, notes, and snippets.

@sj26
Created October 28, 2010 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sj26/650640 to your computer and use it in GitHub Desktop.
Save sj26/650640 to your computer and use it in GitHub Desktop.
Re-opening Enumerable
module Enumerable
def thing
'blah'
end
end
[].thing
# => "blah"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment