APIdock / Ruby
/
Browse About
method

to_i

v1_9_3_392 - Show latest stable - Class: IO
to_i()
public

Alias for IO#fileno

Related methods

  • Instance methods
  • <<
  • advise
  • autoclose=
  • autoclose?
  • binmode
  • binmode?
  • bytes
  • chars
  • close
  • close_on_exec=
  • close_on_exec?
  • close_read
  • close_write
  • closed?
  • codepoints
  • cooked
  • cooked!
  • each
  • each_byte
  • each_char
  • each_codepoint
  • each_line
  • echo=
  • echo?
  • eof
  • eof?
  • expect
  • external_encoding
  • fcntl
  • fdatasync
  • fileno
  • flush
  • fsync
  • getbyte
  • getc
  • getch
  • gets
  • iflush
  • initialize_copy
  • inspect
  • internal_encoding
  • ioctl
  • ioflush
  • isatty
  • lineno
  • lineno=
  • lines
  • noecho
  • nread
  • oflush
  • pid
  • pos
  • pos=
  • print
  • printf
  • putc
  • puts
  • raw
  • raw!
  • read
  • read_nonblock
  • readbyte
  • readchar
  • readline
  • readlines
  • readpartial
  • ready?
  • reopen
  • rewind
  • scanf
  • seek
  • set_encoding
  • stat
  • sync
  • sync=
  • sysread
  • sysseek
  • syswrite
  • tell
  • to_i
  • to_io
  • tty?
  • ungetbyte
  • ungetc
  • wait
  • winsize
  • winsize=
  • write
  • write_nonblock
  • Class methods
  • binread
  • binwrite
  • console
  • copy_stream
  • for_fd
  • foreach
  • new
  • open
  • pipe
  • popen
  • read
  • readlines
  • select
  • sysopen
  • try_convert
  • write
  • Private methods
  • privateblock_scanf
  • privatesoak_up_spaces
APIdock API Documentation Browser

© 2026 APIdock