lib/sugarcube/nsarray.rb in sugarcube-0.14.0 vs lib/sugarcube/nsarray.rb in sugarcube-0.15.0

- old
+ new

@@ -1,7 +1,7 @@ class NSArray - # @param [Symbol] type A pointer type from the list at {http://www.rubymotion.com/developer-center/guides/runtime/ RubyMotion Pointers Reference#_pointers} + # @param type [Symbol] type A pointer type from the list at {http://www.rubymotion.com/developer-center/guides/runtime/ RubyMotion Pointers Reference#_pointers} # @return [Pointer] A pointer to the array, of the specified type def to_pointer(type) ret = Pointer.new(type, self.length) self.each_index do |i| ret[i] = self[i]