lib/mws/orders/collection.rb in mws-orders-0.3.1 vs lib/mws/orders/collection.rb in mws-orders-0.4.0

- old
+ new

@@ -13,15 +13,15 @@ def empty? count.zero? end + def attributes + map(&:attributes) + end + def inspect - "#<#{self.class} #{if count > 3 - "[#{take(3).map(&:inspect).join(', ')}...]" - else - "[#{map(&:inspect).join(', ')}]" - end}>" + "#<#{self.class.name} #{to_a}>" end alias to_s inspect end end