summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:31:22 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:31:22 +0000
commitc1ecff1b1e2eb1c4a10e305dd6cc25d7a94436f6 (patch)
treeb89029a472c274adcef054d03a694fd5905780cf /load.c
parentef83d7a928ef9d998dc9cf9cb86649cdd9ffceea (diff)
* hash.c: Documentation: change => in call-seq to ->.
* enum.c: Documentation: whitespace fix for r27865 * error.c: ditto * file.c: ditto * io.c: ditto * load.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r--load.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/load.c b/load.c
index 9e5e3336ee..0bdba6686a 100644
--- a/load.c
+++ b/load.c
@@ -348,7 +348,7 @@ rb_load_protect(VALUE fname, int wrap, int *state)
/*
* call-seq:
- * load(filename, wrap=false) ->true
+ * load(filename, wrap=false) -> true
*
* Loads and executes the Ruby
* program in the file _filename_. If the filename does not
@@ -422,7 +422,7 @@ load_unlock(const char *ftptr, int done)
/*
* call-seq:
- * require(string) ->true or false
+ * require(string) -> true or false
*
* Ruby tries to load the library named _string_, returning
* +true+ if successful. If the filename does not resolve to
@@ -651,7 +651,7 @@ ruby_init_ext(const char *name, void (*init)(void))
/*
* call-seq:
- * mod.autoload(module, filename) ->nil
+ * mod.autoload(module, filename) -> nil
*
* Registers _filename_ to be loaded (using <code>Kernel::require</code>)
* the first time that _module_ (which may be a <code>String</code> or
@@ -675,7 +675,7 @@ rb_mod_autoload(VALUE mod, VALUE sym, VALUE file)
/*
* call-seq:
- * mod.autoload?(name) ->String or nil
+ * mod.autoload?(name) -> String or nil
*
* Returns _filename_ to be loaded if _name_ is registered as
* +autoload+ in the namespace of _mod_.
@@ -694,7 +694,7 @@ rb_mod_autoload_p(VALUE mod, VALUE sym)
/*
* call-seq:
- * autoload(module, filename) ->nil
+ * autoload(module, filename) -> nil
*
* Registers _filename_ to be loaded (using <code>Kernel::require</code>)
* the first time that _module_ (which may be a <code>String</code> or
@@ -715,7 +715,7 @@ rb_f_autoload(VALUE obj, VALUE sym, VALUE file)
/*
* call-seq:
- * autoload?(name) ->String or nil
+ * autoload?(name) -> String or nil
*
* Returns _filename_ to be loaded if _name_ is registered as
* +autoload+.