Advanced introspection for ruby objects