Sha256: 964efa796924063bb4a8fb1a3bfe2fa57ae9c688718937776a7f930c23eef38d

Contents?: true

Size: 203 Bytes

Versions: 69

Compression:

Stored size: 203 Bytes

Contents

class NSIndexPath

  def to_a
    indexes_ptr = Pointer.new(:uint, self.length)
    self.getIndexes indexes_ptr
    a = []
    self.length.times do |i|
      a << indexes_ptr[i]
    end
    a
  end

end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
sugarcube-2.1.2 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.1.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.1.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.0.2 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.0.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.0.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-1.7.0 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.6.3 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.6.2 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.6.1 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.6.0 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.9 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.8 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.7 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.6 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.5 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.4 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.3 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.2 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.5.1 lib/sugarcube-foundation/nsindexpath.rb