rramsden/ruby-x11 — pull request #1 by matthiasbeyer (2012-03-07 22:17:35+00:00)
Title: Speedup and code shortening

Hi,
I removed the #displays method, which was only called from within the Class, and replaced it by an loop through the AuthInfo Objects.
This is not only a code-shortening - It's also faster! There is no Array anymore and there is no Proc, which is called for each Iteration over the displays-Array.
And an "until" (which is simply a "while not") is faster than an iteration over an array for sure.

best regards!