danchoi / ri.vim

browse ri documentation from Vim
http://github.com/danchoi/ri.vim
MIT License
114 stars 15 forks source link

Fixing the logic of rising exceptions when iterating through the stores #24

Closed v-yadli closed 10 years ago

v-yadli commented 10 years ago

In the original logic, when seeking for a match through the stores of ri docs (system, gems, ...), if there is an exception (which will occur when one of the store failed to load a klass), the whole procedure is interrupted.

Since system is put before gem, all goods in the gem store are actually not approachable.

This commit fixes (not sure if completely) this issue.

danchoi commented 10 years ago

Thank you

v-yadli commented 10 years ago

I'm glad that I can do some help. Getting more familiar with ruby now :-)