lib/burgundy/collection.rb in burgundy-0.0.3 vs lib/burgundy/collection.rb in burgundy-0.0.4

- old
+ new

@@ -1,11 +1,12 @@ module Burgundy - class Collection + class Collection < SimpleDelegator include Enumerable def initialize(items, wrapping_class = nil) @items = items @wrapping_class = wrapping_class + __setobj__(@items) end def empty? !any? end