class Crirc::UserList
- Crirc::UserList
- Reference
- Object
Overview
TODO .
UserList is used to send message to a list of Protocol::User
.
chan1 = UserList.new
chan1.users << user_joined
chan1.puts current_controller, crafted_message
Included Modules
Defined in:
crirc/broadcast/user_list.crConstructors
Instance Method Summary
-
#puts(context : Controller::Controller, data)
TODO NOTE: combine data+user Broadcast a message to the users
- #users : Array(Protocol::User)
Instance methods inherited from module Crirc::Broadcast
puts(context : Controller::Controller, data)
puts
Constructor Detail
Instance Method Detail
def puts(context : Controller::Controller, data)
#
TODO
NOTE combine data+user Broadcast a message to the users