Honor --ruby-kinds option in ruby.c

Fixes universal-ctags/ctags#49
This commit is contained in:
Artem Nezvigin 2014-07-04 17:24:09 -07:00 committed by Colomban Wendling
parent 2269c42dde
commit e129043c98

View File

@ -135,6 +135,10 @@ static void emitRubyTag (vString* name, rubyKind kind)
tagEntryInfo tag;
vString* scope;
if (!RubyKinds[kind].enabled) {
return;
}
vStringTerminate (name);
scope = stringListToScope (nesting);