Updating branch refs/heads/aria2-xml-rpc
         to 61daac63244b62f14523c59a5e57b333bbd665b9 (commit)
       from b41ea4ecd7835ab0949bcf41355badd64ebc5f0e (commit)

commit 61daac63244b62f14523c59a5e57b333bbd665b9
Author: Mike Massonnet <[email protected]>
Date:   Sat Feb 6 19:17:14 2010 +0100

    Add Array.count to compat18

 src/compat18.rb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/compat18.rb b/src/compat18.rb
index 6a2b1c7..c35d1e1 100644
--- a/src/compat18.rb
+++ b/src/compat18.rb
@@ -1,4 +1,7 @@
 class Array
+       def count()
+               nitems()
+       end
        def find_index(idx)
                index(idx)
        end
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to