Class: EventMachine::EvmaKeyboard
Instance Attribute Summary
Attributes inherited from Selectable
#io, #is_server, #uuid
Class Method Summary
collapse
Instance Method Summary
collapse
#eventable_read, #eventable_write, #get_outbound_data_size, #get_peername, #get_sockname, #heartbeat, #send_data
Methods inherited from Selectable
#close_scheduled?, #get_peername, #get_sockname, #heartbeat, #schedule_close, #set_inactivity_timeout
Constructor Details
987
988
989
|
# File 'lib/em/pure_ruby.rb', line 987
def initialize io
super
end
|
Class Method Details
.open ⇒ Object
982
983
984
|
# File 'lib/em/pure_ruby.rb', line 982
def self.open
EvmaKeyboard.new STDIN
end
|
Instance Method Details
#select_for_reading? ⇒ Boolean
996
997
998
|
# File 'lib/em/pure_ruby.rb', line 996
def select_for_reading?
true
end
|
#select_for_writing? ⇒ Boolean
992
993
994
|
# File 'lib/em/pure_ruby.rb', line 992
def select_for_writing?
false
end
|