lib/sugarcube/array.rb in sugarcube-0.7.9 vs lib/sugarcube/array.rb in sugarcube-0.8

- old
+ new

@@ -1,6 +1,14 @@ class Array + def === other + return other === self if other.is_a? NSIndexPath + ret = super + puts("=============== array.rb at line 6 =============== +returning super: #{ret.inspect}") + ret + end + def to_pointer(type) ret = Pointer.new(type, self.length) self.each_index do |i| ret[i] = self[i] end