From 7729de4d91ffbf0fe8fa4f2a95b85d3406845471 Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 17 May 2010 21:07:33 +0000 Subject: * array.c: Documentation: change => in call-seq to ->. Harmonize "#=>" in examples. [ruby-core:30206] * bignum.c: ditto * class.c: ditto * compar.c: ditto * cont.c: ditto * dir.c: ditto * encoding.c: ditto * enum.c: ditto * enumerator.c: ditto * error.c: ditto * eval.c: ditto * file.c: ditto * gc.c: ditto * io.c: ditto * load.c: ditto * marshal.c: ditto * math.c: ditto * numeric.c: ditto * object.c: ditto * pack.c: ditto * proc.c: ditto * process.c: ditto * random.c: ditto * range.c: ditto * re.c: ditto * ruby.c: ditto * signal.c: ditto * sprintf.c: ditto * string.c: ditto * struct.c: ditto * thread.c: ditto * time.c: ditto * transcode.c: ditto * variable.c: ditto * vm_eval.c: ditto * vm_method.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- load.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'load.c') diff --git a/load.c b/load.c index 8742d28b2e..9e5e3336ee 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 Kernel::require) * the first time that _module_ (which may be a String 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_. @@ -683,7 +683,7 @@ rb_mod_autoload(VALUE mod, VALUE sym, VALUE file) * module A * end * A.autoload(:B, "b") - * A.autoload?(:B) # => "b" + * A.autoload?(:B) #=> "b" */ static VALUE @@ -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 Kernel::require) * the first time that _module_ (which may be a String or @@ -715,13 +715,13 @@ 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+. * * autoload(:B, "b") - * autoload?(:B) # => "b" + * autoload?(:B) #=> "b" */ static VALUE -- cgit v1.2.3