end
def mutex; @mutex ||= Mutex.new; end
- def sync &b; mutex.synchronize &b; end
+ def sync &b; mutex.synchronize(&b); end
## aaahhh, user input. who would have though that such a simple
## idea would be SO FUCKING COMPLICATED?! because apparently
end
def resize *a
- super *a
+ super(*a)
ensure_mode_validity
end
def set_labels l; each { |m, *o| m && m.labels = l }; end
def has_label? t; any? { |m, *o| m && m.has_label?(t) }; end
- def dirty?; any? { |m, *o| m && m.dirty? }; end
def save index; each { |m, *o| m && m.save(index) }; end
def direct_participants