Method: Rex::Ui::Text::Input::Socket#eof?

Defined in:
lib/rex/ui/text/input/socket.rb

#eof?Boolean

Returns whether or not EOF has been reached on stdin.

Returns:

  • (Boolean)


82
83
84
# File 'lib/rex/ui/text/input/socket.rb', line 82

def eof?
  @sock.closed?
end