Sha256: db986be544513e93ba1d3a4cc55b64d35ab00ee2ad88b0a4887d4c161cebcc43
Contents?: true
Size: 356 Bytes
Versions: 11
Compression:
Stored size: 356 Bytes
Contents
describe "NSIndexPathWrap" do before do @index = NSIndexPath.indexPathForRow(0, inSection:3) end it "should be able to use an array like accessor" do @index[0].should == @index.indexAtPosition(0) end it "should support the each iterator" do i = [] @index.each do |idx| i << idx end i.should == [3, 0] end end
Version data entries
11 entries across 11 versions & 1 rubygems