Sha256: ba94307bcae4b7770d45239de9efe5833428460110bd831a6ef7bfad987a411f
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
describe NSIndexPath do it 'should have to_a' do path = NSIndexPath.indexPathWithIndex(1).indexPathByAddingIndex(3) path.to_a.should == [1, 3] end it 'should have to_ary' do a, b = NSIndexPath.indexPathWithIndex(1).indexPathByAddingIndex(3) a.should == 1 b.should == 3 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-2.12.3 | spec/cocoa/nsindexpath_spec.rb |
sugarcube-2.12.2 | spec/cocoa/nsindexpath_spec.rb |
sugarcube-2.12.1 | spec/cocoa/nsindexpath_spec.rb |