Please sign in to comment.
Stop calling to_path of String
* file.c (rb_get_path_check_to_string): stop calling to_path method of String. We remove unnecessary argument. * file.c (rb_get_path_check): follow the above change. * internal.h (rb_get_path_check_to_string): ditto. * load.c (rb_construct_expanded_load_path): not check to have to_path method since to_path is not called for String. * load.c (rb_get_expanded_load_path): fix comment. * test/ruby/test_require.rb (TestRequire): remove invalid test.
- Loading branch information...
Showing with 13 additions and 37 deletions.