# Pastebin ucdKDF1f abstract class X CHILDS = {{X.subclasses.map{|c| {c, c.methods.map(&.name.stringify)} }}} end class Hello < X def hi end end class There < X def there end end p X::CHILDS