diff options
author | Igor Sysoev <igor@sysoev.ru> | 2019-10-10 19:42:41 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2019-10-10 19:42:41 +0300 |
commit | 09e7357b085aab4f29bdadceee112bd7a8ccf706 (patch) | |
tree | e40a03d49ffd99d436adb8715e585763aa061b59 /src/ruby/nxt_ruby_stream_io.c | |
parent | ec0d5c928efcfb2d4958246d686718cb9747f722 (diff) | |
download | unit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.gz unit-09e7357b085aab4f29bdadceee112bd7a8ccf706.tar.bz2 |
Style fixes.
Diffstat (limited to '')
-rw-r--r-- | src/ruby/nxt_ruby_stream_io.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ruby/nxt_ruby_stream_io.c b/src/ruby/nxt_ruby_stream_io.c index 3f6cac89..fcfcf5dd 100644 --- a/src/ruby/nxt_ruby_stream_io.c +++ b/src/ruby/nxt_ruby_stream_io.c @@ -31,7 +31,8 @@ nxt_ruby_stream_io_input_init(void) rb_gc_register_address(&stream_io); rb_define_singleton_method(stream_io, "new", nxt_ruby_stream_io_new, 1); - rb_define_method(stream_io, "initialize", nxt_ruby_stream_io_initialize, -1); + rb_define_method(stream_io, "initialize", + nxt_ruby_stream_io_initialize, -1); rb_define_method(stream_io, "gets", nxt_ruby_stream_io_gets, 0); rb_define_method(stream_io, "each", nxt_ruby_stream_io_each, 0); rb_define_method(stream_io, "read", nxt_ruby_stream_io_read, -2); @@ -51,7 +52,8 @@ nxt_ruby_stream_io_error_init(void) rb_gc_register_address(&stream_io); rb_define_singleton_method(stream_io, "new", nxt_ruby_stream_io_new, 1); - rb_define_method(stream_io, "initialize", nxt_ruby_stream_io_initialize, -1); + rb_define_method(stream_io, "initialize", + nxt_ruby_stream_io_initialize, -1); rb_define_method(stream_io, "puts", nxt_ruby_stream_io_puts, -2); rb_define_method(stream_io, "write", nxt_ruby_stream_io_write, -2); rb_define_method(stream_io, "flush", nxt_ruby_stream_io_flush, 0); |