diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-23 17:25:41 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-23 17:25:41 +0000 |
commit | 5d3affad07b1fd7470651d321f076c27095b238b (patch) | |
tree | a23877a866d43a027c2ccb34dda3586ec69fcc35 /eval.c | |
parent | a4c105c337a22c79b15560d495d218ff966fdeca (diff) |
* eval.c (Kernel#autoload?): doc fix by Jeremy Henty [ruby-core:19983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -8455,13 +8455,13 @@ rb_f_autoload(obj, sym, file) /* * call-seq: - * autoload(module, filename) => nil + * autoload?(name) => String or nil * - * Registers _filename_ to be loaded (using <code>Kernel::require</code>) - * the first time that _module_ (which may be a <code>String</code> or - * a symbol) is accessed. + * Returns _filename_ to be loaded if _name_ is registered as + * +autoload+. * - * autoload(:MyModule, "/usr/local/lib/modules/my_module.rb") + * autoload(:B, "b") + * autoload?(:B) # => "b" */ static VALUE |