Method: ChatBot#rooms

Defined in:
lib/chatx.rb

#roomsHash<Hash<Array>> (readonly)

Returns a hash of the rooms. Each key is a room ID, and each value is futher hash with an :events key which contains an array of Events from that room.

Returns:

  • (Hash<Hash<Array>>)

    a hash of the rooms. Each key is a room ID, and each value is futher hash with an :events key which contains an array of Events from that room.



36
37
38
# File 'lib/chatx.rb', line 36

def rooms
  @rooms
end