Created
December 16, 2015 05:14
-
-
Save ch1c0t/e3febd436f09c72d3f60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = ObjectSpace.each_object(Module).reject { |m| m.is_a? Class } | |
p modules.map { |m| m.to_s } | |
p modules.size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment