Created
August 6, 2015 23:35
-
-
Save mwlang/3e69c61efa8d63e9e72d 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
module Foobar | |
end | |
class Foobar::Bar | |
end | |
class Foobar::Foo | |
end | |
ObjectSpace.each_object do |o| | |
puts o.class.to_s if o.class.to_s =~ /Foo/ | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment