summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-15 15:43:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-15 15:43:29 +0000
commita98287182a4b0c1324ff54e91b2baf1d3876d2ba (patch)
treee1c71f20c256f0cf74329059d41b4f4b7a27585c /ext
parent7ed126161e122185b10e434347670b7b271b0f46 (diff)
* ext/stringio/stringio.c: use right arrows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/stringio/stringio.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c
index 24d0bd1e91..3ec73a62ca 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -782,7 +782,7 @@ strio_ungetc(self, ch)
/*
* call-seq:
- * strio.readchar => fixnum
+ * strio.readchar -> fixnum
*
* See IO#readchar.
*/
@@ -950,8 +950,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.
*/
@@ -972,7 +972,7 @@ strio_each(argc, argv, self)
/*
* call-seq:
- * strio.readlines(sep_string=$/) => array
+ * strio.readlines(sep_string=$/) -> array
*
* See IO#readlines.
*/
@@ -992,8 +992,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
@@ -1030,7 +1030,7 @@ strio_write(self, str)
/*
* call-seq:
- * strio << obj => strio
+ * strio << obj -> strio
*
* See IO#<<.
*/
@@ -1038,8 +1038,8 @@ strio_write(self, str)
/*
* call-seq:
- * strio.print() => nil
- * strio.print(obj, ...) => nil
+ * strio.print() -> nil
+ * strio.print(obj, ...) -> nil
*
* See IO#print.
*/
@@ -1047,7 +1047,7 @@ strio_write(self, str)
/*
* call-seq:
- * strio.printf(format_string [, obj, ...] ) => nil
+ * strio.printf(format_string [, obj, ...] ) -> nil
*
* See IO#printf.
*/
@@ -1055,7 +1055,7 @@ strio_write(self, str)
/*
* call-seq:
- * strio.putc(obj) => obj
+ * strio.putc(obj) -> obj
*
* See IO#putc.
*/
@@ -1080,7 +1080,7 @@ strio_putc(self, ch)
/*
* call-seq:
- * strio.puts(obj, ...) => nil
+ * strio.puts(obj, ...) -> nil
*
* See IO#puts.
*/
@@ -1088,7 +1088,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.
*/
@@ -1167,7 +1167,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.
@@ -1206,7 +1206,7 @@ strio_sysread(argc, argv, self)
/*
* call-seq:
- * strio.size => integer
+ * strio.size -> integer
*
* Returns the size of the buffer string.
*/
@@ -1223,7 +1223,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.