Is there a way of getting all the attr_readers declared in a given Module? I know that Module.public_instance_methods returns all the readers plus additional module methods, but I need only the attr_readers that were declared in the Module.
Important point: I don't have an instance, I need to get the attributes straight from a module, something like: ModuleFoo.public_attributes