ripper-tags
fast, accurate ctags generator for ruby source code using Ripper
usage (command-line)
Typical usage:
ripper- -R --exclude=vendor
This parses all *.rb files in the current project, excluding ones in vendor/
directory, and saves tags in Vim format to a file named ./tags.
To see all available options:
ripper- --help
usage (api)
require 'ripper-tags/parser'
= RipperTags::Parser.extract("def abc() end", "mycode.rb")