Method: Whatup::CLI::Interactive#list
- Defined in:
- lib/whatup/cli/commands/interactive/interactive.rb
#list ⇒ Object
47 48 49 50 51 |
# File 'lib/whatup/cli/commands/interactive/interactive.rb', line 47 def list say 'All connected clients:' server.clients_except(current_user).each { |c| say " #{c.status}" } say "* #{current_user.status}" end |