diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-17 21:07:33 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-17 21:07:33 +0000 |
commit | 7729de4d91ffbf0fe8fa4f2a95b85d3406845471 (patch) | |
tree | d930ee058c37104d7cd892dbbb7c56dc775abebc /ruby.c | |
parent | e181ae53918c09139e7f60bf5ad32741d91339cd (diff) |
* 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
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1146,8 +1146,8 @@ uscore_get(void) /* * call-seq: - * sub(pattern, replacement) => $_ - * sub(pattern) { block } => $_ + * sub(pattern, replacement) -> $_ + * sub(pattern) { block } -> $_ * * Equivalent to <code>$_.sub(<i>args</i>)</code>, except that * <code>$_</code> will be updated if substitution occurs. @@ -1166,8 +1166,8 @@ rb_f_sub(argc, argv) /* * call-seq: - * gsub(pattern, replacement) => string - * gsub(pattern) {|...| block } => string + * gsub(pattern, replacement) -> string + * gsub(pattern) {|...| block } -> string * * Equivalent to <code>$_.gsub...</code>, except that <code>$_</code> * receives the modified result. @@ -1187,7 +1187,7 @@ rb_f_gsub(argc, argv) /* * call-seq: - * chop => string + * chop -> string * * Equivalent to <code>($_.dup).chop!</code>, except <code>nil</code> * is never returned. See <code>String#chop!</code>. @@ -1206,8 +1206,8 @@ rb_f_chop(void) /* * call-seq: - * chomp => $_ - * chomp(string) => $_ + * chomp -> $_ + * chomp(string) -> $_ * * Equivalent to <code>$_ = $_.chomp(<em>string</em>)</code>. See * <code>String#chomp</code>. |