Class: Hipbot::Adapters::Shell
- Inherits:
-
Object
- Object
- Hipbot::Adapters::Shell
- 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
- #invite_to_room ⇒ Object
- #join_room ⇒ Object
- #kick_from_room ⇒ Object
- #leave_room ⇒ Object
- #restart! ⇒ Object
- #send_to_room ⇒ Object
- #set_presence ⇒ Object
- #set_topic ⇒ Object
- #start! ⇒ Object
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
4 5 6 |
# File 'lib/hipbot/adapters/shell.rb', line 4 def connection @connection end |
Instance Method Details
#invite_to_room ⇒ Object
10 |
# File 'lib/hipbot/adapters/shell.rb', line 10 def invite_to_room(*); end |
#join_room ⇒ Object
11 |
# File 'lib/hipbot/adapters/shell.rb', line 11 def join_room(*); end |
#kick_from_room ⇒ Object
12 |
# File 'lib/hipbot/adapters/shell.rb', line 12 def kick_from_room(*); end |
#leave_room ⇒ Object
13 |
# File 'lib/hipbot/adapters/shell.rb', line 13 def leave_room(*); end |
#restart! ⇒ Object
14 |
# File 'lib/hipbot/adapters/shell.rb', line 14 def restart!; end |
#send_to_room ⇒ Object
15 |
# File 'lib/hipbot/adapters/shell.rb', line 15 def send_to_room(*); end |
#set_presence ⇒ Object
16 |
# File 'lib/hipbot/adapters/shell.rb', line 16 def set_presence(*); end |
#set_topic ⇒ Object
17 |
# File 'lib/hipbot/adapters/shell.rb', line 17 def set_topic(*); end |
#start! ⇒ Object
6 7 8 |
# File 'lib/hipbot/adapters/shell.rb', line 6 def start! EM.open_keyboard(KeyboardHandler, self) end |