lib/bencoding/array.rb in simonmenke-bencoding-0.0.3 vs lib/bencoding/array.rb in simonmenke-bencoding-0.0.4

- old
+ new

@@ -1,9 +1,10 @@ module Bencoding module Array def to_bencoding + return '' if empty? "l"+collect{|item|item.to_bencoding}.join+"e" end end end