From bb7a1e8d5e69b5caee7c7252fdebef6ed835d265 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 17 Jun 2009 07:59:26 +0000 Subject: * load.c (rb_f_require): RDoc updated. a patch from Run Paint Run Run in [ruby-core:23833]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- load.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'load.c') diff --git a/load.c b/load.c index 2c59f33041..addfe46934 100644 --- a/load.c +++ b/load.c @@ -419,10 +419,10 @@ load_unlock(const char *ftptr, int done) * the current platform, Ruby loads the shared library as a Ruby * extension. Otherwise, Ruby tries adding ``.rb'', ``.so'', and so on * to the name. The name of the loaded feature is added to the array in - * $". A feature will not be loaded if it's name already - * appears in $". However, the file name is not converted - * to an absolute path, so that ``require 'a';require - * './a''' will load a.rb twice. + * $". A feature will not be loaded if its name already + * appears in $". The file name is converted to an absolute + * path, so ``require 'a'; require './a''' will not load + * a.rb twice. * * require "my-library.rb" * require "db-driver" @@ -639,7 +639,7 @@ ruby_init_ext(const char *name, void (*init)(void)) /* * call-seq: - * mod.autoload(name, filename) => nil + * mod.autoload(module, filename) => nil * * Registers _filename_ to be loaded (using Kernel::require) * the first time that _module_ (which may be a String or -- cgit v1.2.3