Sha256: e424cd46ac8a1557065847207c124fd08b7cbc5c605f78b9ebcc1ad45f8df683
Contents?: true
Size: 434 Bytes
Versions: 17
Compression:
Stored size: 434 Bytes
Contents
describe CALayer do it "should support <<" do layer = CALayer.layer another_layer = CALayer.layer layer << another_layer layer.sublayers.should == [another_layer] end it "should support unshift" do layer = CALayer.layer sub_layer1 = CALayer.layer sub_layer2 = CALayer.layer layer.unshift sub_layer1 layer.unshift sub_layer2 layer.sublayers.should == [sub_layer2, sub_layer1] end end
Version data entries
17 entries across 17 versions & 1 rubygems