Module: Rumai::ClientContainer

Included in:
, Area, View
Defined in:
lib/rumai/wm.rb

Overview

Note:

Inheritors should override the ClientContainer#client_ids method.

Instance Method Summary

Instance Method Details

- (Object) client_ids

Returns the IDs of the clients in this container.



455
456
457
# File 'lib/rumai/wm.rb', line 455

def client_ids
  []
end

- (Object) clients

Returns the clients contained in this container.



462
463
464
# File 'lib/rumai/wm.rb', line 462

def clients
  client_ids.map! {|i| Client.new i }
end

- (Object) grouping

Returns all grouped clients in this container.



478
479
480
# File 'lib/rumai/wm.rb', line 478

def grouping
  clients.select {|c| c.group? }
end