Class: Hipbot::Adapters::Shell
- Inherits:
-
Object
- Object
- Hipbot::Adapters::Shell
- Includes:
- Hipbot::Adaptable
- Defined in:
- lib/hipbot/adapters/shell.rb
Defined Under Namespace
Modules: KeyboardHandler
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
Instance Method Summary collapse
Methods included from Hipbot::Adaptable
#invite_to_room, #join_room, #kick_from_room, #leave_room, #restart!, #send_to_room, #set_presence, #set_topic
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
6 7 8 |
# File 'lib/hipbot/adapters/shell.rb', line 6 def connection @connection end |
Instance Method Details
#start! ⇒ Object
8 9 10 |
# File 'lib/hipbot/adapters/shell.rb', line 8 def start! EM.open_keyboard(KeyboardHandler, self) end |