#!/usr/bin/ruby

# IO

## 클래스 메서드
=begin

* open
* pipe
* popen

* binread
* read
* readlines

* binwrite
* write

* foreach

=end

## 인스턴스 메서드

=begin
* getbyte
* getc
* gets
* pread
* read
* read_nonblock
* readbyte
* readchar
* readline
* readlines
* readpartial


=end

=begin
* <<
* print
* printf
* putc
* puts
* pwrite
* write
* write_nonblock

=end

=begin
* lineno
* pos
* reopen
* rewind
* seek

=end

=begin
* each / each_line
* each_byte
* each_char
* each_codepoint

=end

=begin
* fdatasync
* flush
* fsync

=end


###### ======================================


=begin

* read
* write


* tell
* pos
* seek
* rewind

* close
* cose_read
* close_write
* closed?

* eof?

=end


=begin

* each_line
* gets : 다음 한 줄 읽기
* readline : 다음 한 줄 읽기
* readlines : 모두 읽어서 배열로 반환

* lineno

=end


=begin

* getc
* readchar
* ungetc
* putc
* each_char


=end


=begin

* getbyte
* readbyte
* ungetbyte
* each_byte


=end


=begin

* each_codepoint


=end

END{
  # https://ruby-doc.org/3.3.0/IO.html
  # https://ruby-doc.org/3.3.0/exts/io/nonblock/IO.html
}
