Project

General

Profile

« Previous | Next » 

Revision 4d414c9f

Added by shirosaki over 11 years ago

Clarify and explain loaded_feature_path and rb_feature_p

  • load.c (loaded_feature_path): clarify and briefly comment
    function. These clarifications have no effect on the behavior
    of the function.

  • load.c (rb_feature_p): explain the search loop. Especially
    useful because the logic is complicated as described in the
    second paragraph.
    Patch by Greg Price.
    [ruby-core:47970] [Bug #7158]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e