summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-31 15:05:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-31 15:05:09 +0000
commita010ea9a4507c9814c06d8f15f1f9f629bf8de47 (patch)
tree8364fa20a8c0745047cb907c93b6034eb20fd051 /io.c
parent6a158e05c880d420ddc66d991816b21026bc9f6f (diff)
no space inside parens
* io.c: remove spaces before closing parens. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/io.c b/io.c
index cddab6aa00..3bfdfc1d95 100644
--- a/io.c
+++ b/io.c
@@ -979,7 +979,7 @@ io_write(VALUE io, VALUE str, int nosync)
* to a string using <code>to_s</code>. Returns the number of bytes
* written.
*
- * count = $stdout.write( "This is a test\n" )
+ * count = $stdout.write("This is a test\n")
* puts "That was #{count} bytes of data"
*
* <em>produces:</em>
@@ -5457,8 +5457,8 @@ rb_open_file(int argc, VALUE *argv, VALUE io)
* Document-method: IO::open
*
* call-seq:
- * IO.open(fd, mode_string="r" [, opt] ) -> io
- * IO.open(fd, mode_string="r" [, opt] ) {|io| block } -> obj
+ * IO.open(fd, mode_string="r" [, opt]) -> io
+ * IO.open(fd, mode_string="r" [, opt]) {|io| block } -> obj
*
* With no associated block, <code>open</code> is a synonym for
* <code>IO.new</code>. If the optional code block is given, it will
@@ -5536,8 +5536,8 @@ check_pipe_command(VALUE filename_or_command)
/*
* call-seq:
- * open(path [, mode_enc [, perm]] [, opt] ) -> io or nil
- * open(path [, mode_enc [, perm]] [, opt] ) {|io| block } -> obj
+ * open(path [, mode_enc [, perm]] [, opt]) -> io or nil
+ * open(path [, mode_enc [, perm]] [, opt]) {|io| block } -> obj
*
* Creates an <code>IO</code> object connected to the given stream,
* file, or subprocess.
@@ -5937,7 +5937,7 @@ rb_io_init_copy(VALUE dest, VALUE io)
/*
* call-seq:
- * ios.printf(format_string [, obj, ...] ) -> nil
+ * ios.printf(format_string [, obj, ...]) -> nil
*
* Formats and writes to <em>ios</em>, converting parameters under
* control of the format string. See <code>Kernel#sprintf</code>
@@ -5953,8 +5953,8 @@ rb_io_printf(int argc, VALUE *argv, VALUE out)
/*
* call-seq:
- * printf(io, string [, obj ... ] ) -> nil
- * printf(string [, obj ... ] ) -> nil
+ * printf(io, string [, obj ... ]) -> nil
+ * printf(string [, obj ... ]) -> nil
*
* Equivalent to:
* io.write(sprintf(string, obj, ...)