rb_file_s_basename 4303 file.c return rb_assoc_new(rb_file_dirname(path), rb_file_s_basename(1,&path)); rb_file_s_basename 5965 file.c rb_define_singleton_method(rb_cFile, "basename", rb_file_s_basename, -1);