Class: Hipbot::Adapters::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/hipbot/adapters/shell.rb

Defined Under Namespace

Modules: KeyboardHandler

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#connectionObject

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_roomObject



10
# File 'lib/hipbot/adapters/shell.rb', line 10

def invite_to_room(*); end

#join_roomObject



11
# File 'lib/hipbot/adapters/shell.rb', line 11

def join_room(*); end

#kick_from_roomObject



12
# File 'lib/hipbot/adapters/shell.rb', line 12

def kick_from_room(*); end

#leave_roomObject



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_roomObject



15
# File 'lib/hipbot/adapters/shell.rb', line 15

def send_to_room(*); end

#set_presenceObject



16
# File 'lib/hipbot/adapters/shell.rb', line 16

def set_presence(*); end

#set_topicObject



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