From: Brian Modra Date: 2013-01-31T14:05:18+09:00 Subject: Re: SSLSocket in non-blocking mode Not according to this documentation: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/SSL/SSLSocket.html ... but according to irb, yes! Thanks irb(main):015:0> sslsock.methods => [:io, :context, :hostname, :hostname=, :sync_close, :sync_close=, :to_io, :connect, :connect_nonblock, :accept, :accept_nonblock, :sysread, :syswrite, :sysclose, :cert, :peer_cert, :peer_cert_chain, :cipher, :state, :pending, :session_reused?, :session=, :verify_result, :client_ca, :post_connection_check, :session, :addr, :peeraddr, :setsockopt, :getsockopt, :fcntl, :closed?, :do_not_reverse_lookup=, :sync, :sync=, :read, :readpartial, :read_nonblock, :gets, :each, :each_line, :readlines, :readline, :getc, :each_byte, :readchar, :ungetc, :eof?, :eof, :write, :write_nonblock, :<<, :puts, :print, :printf, :flush, :close, :to_a, :entries, :sort, :sort_by, :grep, :count, :find, :detect, :find_index, :find_all, :select, :reject, :collect, :map, :flat_map, :collect_concat, :inject, :reduce, :partition, :group_by, :first, :all?, :any?, :one?, :none?, :min, :max, :minmax, :min_by, :max_by, :minmax_by, :member?, :include?, :each_with_index, :reverse_each, :each_entry, :each_slice, :each_cons, :each_with_object, :zip, :take, :take_while, :drop, :drop_while, :cycle, :chunk, :slice_before, :nil?, :===, :=~, :!~, :eql?, :hash, :<=>, :class, :singleton_class, :clone, :dup, :initialize_dup, :initialize_clone, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :freeze, :frozen?, :to_s, :inspect, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :instance_of?, :kind_of?, :is_a?, :tap, :send, :public_send, :respond_to?, :respond_to_missing?, :extend, :display, :method, :public_method, :define_singleton_method, :object_id, :to_enum, :enum_for, :==, :equal?, :!, :!=, :instance_eval, :instance_exec, :__send__, :__id__] -- Posted via http://www.ruby-forum.com/.