Module: Rumai::ClientContainer

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

Overview

Note:

Inheritors should override the client_ids method.

Instance Method Summary (collapse)

Instance Method Details

- (Object) client_ids

Returns the IDs of the clients in this container.



503
504
505
# File 'lib/rumai/wm.rb', line 503

def client_ids
  []
end

- (Object) clients

Returns the clients contained in this container.



510
511
512
# File 'lib/rumai/wm.rb', line 510

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

- (Object) grouping

Returns all grouped clients in this container.



526
527
528
# File 'lib/rumai/wm.rb', line 526

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