Skip to content

Instantly share code, notes, and snippets.

@drbrain

drbrain/output Secret

Created August 3, 2016 00:52
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 drbrain/656501f5e4b45d68799b541f1e7f8165 to your computer and use it in GitHub Desktop.
Save drbrain/656501f5e4b45d68799b541f1e7f8165 to your computer and use it in GitHub Desktop.
$ ruby t.rb
[C, W, X, Y, Z, Object, Kernel, BasicObject]
module W
end
module X
end
module Y
end
module Z
end
class C
include Z
include Y
include X
include W
end
p C.ancestors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment