Skip to content

Instantly share code, notes, and snippets.

@andyferra
Created February 20, 2009 00:45
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 andyferra/67217 to your computer and use it in GitHub Desktop.
Save andyferra/67217 to your computer and use it in GitHub Desktop.
## example.rb
class Example
include Enumerable
@wrapped_array = ['something', 'foof']
end
e = Example.new
# this is what I'm trying to do
e #=> ['something', 'foof']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment