diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-15 15:43:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-15 15:43:29 +0000 |
commit | ff11efeea7bf9f9c269d6710124ce7d6ee261a38 (patch) | |
tree | e1d0fd0b79bebc69d01b5be6c36feb76717e9f92 | |
parent | d3d9bcf46025877c3562b0d963b15c57313f5341 (diff) | |
download | ruby-ff11efeea7bf9f9c269d6710124ce7d6ee261a38.tar.gz |
* ext/stringio/stringio.c: use right arrows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/stringio/stringio.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 256720baff..9d16b235dd 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -775,7 +775,7 @@ strio_ungetc(self, ch) /* * call-seq: - * strio.readchar => fixnum + * strio.readchar -> fixnum * * See IO#readchar. */ @@ -941,8 +941,8 @@ strio_readline(argc, argv, self) /* * call-seq: - * strio.each(sep_string=$/) {|line| block } => strio - * strio.each_line(sep_string=$/) {|line| block } => strio + * strio.each(sep_string=$/) {|line| block } -> strio + * strio.each_line(sep_string=$/) {|line| block } -> strio * * See IO#each. */ @@ -963,7 +963,7 @@ strio_each(argc, argv, self) /* * call-seq: - * strio.readlines(sep_string=$/) => array + * strio.readlines(sep_string=$/) -> array * * See IO#readlines. */ @@ -983,8 +983,8 @@ strio_readlines(argc, argv, self) /* * call-seq: - * strio.write(string) => integer - * strio.syswrite(string) => integer + * strio.write(string) -> integer + * strio.syswrite(string) -> integer * * Appends the given string to the underlying buffer string of *strio*. * The stream must be opened for writing. If the argument is not a @@ -1021,7 +1021,7 @@ strio_write(self, str) /* * call-seq: - * strio << obj => strio + * strio << obj -> strio * * See IO#<<. */ @@ -1029,8 +1029,8 @@ strio_write(self, str) /* * call-seq: - * strio.print() => nil - * strio.print(obj, ...) => nil + * strio.print() -> nil + * strio.print(obj, ...) -> nil * * See IO#print. */ @@ -1038,7 +1038,7 @@ strio_write(self, str) /* * call-seq: - * strio.printf(format_string [, obj, ...] ) => nil + * strio.printf(format_string [, obj, ...] ) -> nil * * See IO#printf. */ @@ -1046,7 +1046,7 @@ strio_write(self, str) /* * call-seq: - * strio.putc(obj) => obj + * strio.putc(obj) -> obj * * See IO#putc. */ @@ -1071,7 +1071,7 @@ strio_putc(self, ch) /* * call-seq: - * strio.puts(obj, ...) => nil + * strio.puts(obj, ...) -> nil * * See IO#puts. */ @@ -1079,7 +1079,7 @@ strio_putc(self, ch) /* * call-seq: - * strio.read([length [, buffer]]) => string, buffer, or nil + * strio.read([length [, buffer]]) -> string, buffer, or nil * * See IO#read. */ @@ -1151,7 +1151,7 @@ strio_read(argc, argv, self) /* * call-seq: - * strio.sysread(integer[, outbuf]) => string + * strio.sysread(integer[, outbuf]) -> string * * Similar to #read, but raises +EOFError+ at end of string instead of * returning +nil+, as well as IO#sysread does. @@ -1190,7 +1190,7 @@ strio_sysread(argc, argv, self) /* * call-seq: - * strio.size => integer + * strio.size -> integer * * Returns the size of the buffer string. */ @@ -1207,7 +1207,7 @@ strio_size(self) /* * call-seq: - * strio.truncate(integer) => 0 + * strio.truncate(integer) -> 0 * * Truncates the buffer string to at most _integer_ bytes. The *strio* * must be opened for writing. |