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.12.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.11.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.11.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.10.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.9.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.8.2 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.8.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.8.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.7.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.7.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.6.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.5.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.4.2 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.4.1 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.4.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.3.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.2.0 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.1.5 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.1.4 lib/cocoa/sugarcube-foundation/nsindexpath.rb
sugarcube-2.1.3 lib/cocoa/sugarcube-foundation/nsindexpath.rb