Sha256: 33eb40f1006a834f1e64310ea5f7cb9eb4fc5880804f17e905d5ce900e482eea
Contents?: true
Size: 387 Bytes
Versions: 45
Compression:
Stored size: 387 Bytes
Contents
class NSArray # @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] end ret end end
Version data entries
45 entries across 45 versions & 1 rubygems