Method: Eg::Book::Room#initialize
- Defined in:
- lib/eg/book/chat_server_actions.rb
#initialize(room_name, owner, chat) ⇒ Room
Returns a new instance of Room.
70 71 72 73 74 75 |
# File 'lib/eg/book/chat_server_actions.rb', line 70 def initialize room_name, owner, chat @name = room_name @owner = owner @chat = chat @users = Set.new end |