lib/sugarcube/array.rb in sugarcube-0.8.1 vs lib/sugarcube/array.rb in sugarcube-0.8.2
- old
+ new
@@ -1,14 +1,6 @@
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