Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bbrowning
Created September 26, 2014 19:17
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 bbrowning/1bdca2ff8cfce213dacd to your computer and use it in GitHub Desktop.
Save bbrowning/1bdca2ff8cfce213dacd to your computer and use it in GitHub Desktop.
class Foo
private
def to_ary; end
def to_a; end
def method_missing(method, *args)
super
end
end
Array(Foo.new)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment