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-1.5.0 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.6 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.5 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.4 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.3 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.2 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.1 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.4.0 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.11 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.10 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.9 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.8 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.7 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.6 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.5 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.4 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.3 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.2 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.1 lib/sugarcube-foundation/nsindexpath.rb
sugarcube-1.3.0 lib/sugarcube-foundation/nsindexpath.rb