I am not familiar with ruby, but if by "native methods" you mean material in some kind of system library, there are several CEDET extension options for doing this work.
If there are ruby files somewhere that have all this code, and if ruby supports some kind of "include" or "import" statement, you need to add this location to the include path for ruby. This probably requires changing the ruby source code to add a new path to the system. You can see examples in semantic-c.el. You may also need to override the semantic-tag-include-filename function to convert include to findable filename.
If not, and there is only some kind of ruby interpreter that knows all this, then you will need to create a complete ruby “all-knowing” database similar to semanticdb-el.el. He will need a way to query ruby for different things and return them as responses.
Any such improvements would be welcome in the ruby support for the CEDET contrib.
source share